
|
ClassNotFoundException LangNamespaceHandler in classloader console-tomcat_portal-driver.war
Problem:
I'm starting the Geronimo 2.1 server. There should be no applications installed. I got following stacktrace:
15:51:11,125 INFO [Log4jService] ----------------------------------------------
15:51:11,125 INFO [Log4jService] Started Logging Service
15:51:11,125 INFO [Log4jService] Runtime Information:
15:51:11,125 INFO [Log4jService] Install Directory = C:\geronimo
15:51:11,125 INFO [Log4jService] JVM in use = Sun Microsystems Inc. Java 1.6.0_05
15:51:11,125 INFO [Log4jService] Java Information:
15:51:11,125 INFO [Log4jService] System property [java.runtime.name] = Java(TM) SE Runtime Environment
15:51:11,125 INFO [Log4jService] System property [java.runtime.version] = 1.6.0_05-b13
15:51:11,125 INFO [Log4jService] System property [os.name] = Windows XP
15:51:11,125 INFO [Log4jService] System property [os.version] = 5.1
15:51:11,125 INFO [Log4jService] System property [sun.os.patch.level] = Service Pack 2
15:51:11,125 INFO [Log4jService] System property [os.arch] = x86
15:51:11,125 INFO [Log4jService] System property [java.class.version] = 50.0
15:51:11,125 INFO [Log4jService] System property [locale] = fi_FI
15:51:11,125 INFO [Log4jService] System property [unicode.encoding] = UnicodeLittle
15:51:11,125 INFO [Log4jService] System property [file.encoding] = Cp1252
15:51:11,125 INFO [Log4jService] System property [java.vm.name] = Java HotSpot(TM) Client VM
15:51:11,125 INFO [Log4jService] System property [java.vm.vendor] = Sun Microsystems Inc.
15:51:11,125 INFO [Log4jService] System property [java.vm.version] = 10.0-b19
15:51:11,125 INFO [Log4jService] System property [java.vm.info] = mixed mode
15:51:11,125 INFO [Log4jService] System property [java.home] = C:\Program Files\Java\jdk1.6.0_05\jre
15:51:11,125 INFO [Log4jService] System property [java.classpath] = null
15:51:11,125 INFO [Log4jService] System property [java.library.path] = C:\Program Files\Java\jdk1.6.0_05\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;"C:\Program Files\Java\jdk1.6.0_05\bin";C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\apache-ant-1.7.0\bin
15:51:11,125 INFO [Log4jService] System property [java.endorsed.dirs] = C:\geronimo\lib\endorsed;C:\Program Files\Java\jdk1.6.0_05\jre\lib\endorsed
15:51:11,125 INFO [Log4jService] System property [java.ext.dirs] = C:\Program Files\Java\jdk1.6.0_05\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
15:51:11,125 INFO [Log4jService] System property [sun.boot.class.path] = C:\geronimo\lib\endorsed\yoko-rmi-spec-1.0-r615303.jar;C:\geronimo\lib\endorsed\yoko-spec-corba-1.0-r615303.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\jc
15:51:11,125 INFO [Log4jService] ----------------------------------------------
Booting Geronimo Kernel (in Java 1.6.0_05)...
Module 1/64 org.apache.geronimo.framework/j2ee-security/2.1/car started in .391s
Module 2/64 org.apache.geronimo.framework/rmi-naming/2.1/car started in .000s
Module 3/64 org.apache.geronimo.framework/j2ee-system/2.1/car started in .000s
Module 4/64 org.apache.geronimo.framework/jee-specs/2.1/car started in .000s
Module 5/64 org.apache.geronimo.framework/transformer-agent/2.1/car started in .000s
Module 6/64 org.apache.geronimo.framework/server-security-config/2.1/car started in .047s
Module 7/64 org.apache.geronimo.framework/plugin/2.1/car started in .079s
Module 8/64 org.apache.geronimo.framework/xmlbeans/2.1/car started in .000s
Module 9/64 org.apache.geronimo.configs/myfaces-deployer/2.1/car started in .562s
Module 10/64 org.apache.geronimo.configs/myfaces/2.1/car started in .047s
Module 11/64 org.apache.geronimo.configs/j2ee-server/2.1/car started in .000s
Module 12/64 org.apache.geronimo.configs/j2ee-deployer/2.1/car started in .000s
Module 13/64 org.apache.geronimo.framework/geronimo-gbean-deployer/2.1/car started in .000s
Module 14/64 org.apache.geronimo.configs/activemq-ra/2.1/car started in 4.766s
Module 15/64 org.apache.geronimo.configs/activemq-broker/2.1/car started in .000s
Module 16/64 org.apache.geronimo.configs/system-database/2.1/car started in .000s
Module 17/64 org.apache.geronimo.configs/transaction/2.1/car started in .000s
Module 18/64 org.apache.geronimo.configs/uddi-tomcat/2.1/car started in 7.140s
Module 19/64 org.apache.geronimo.configs/axis/2.1/car started in .000s
Module 20/64 org.apache.geronimo.configs/webservices-common/2.1/car started in .000s
Module 21/64 org.apache.geronimo.configs/openejb/2.1/car started in .828s
Module 22/64 org.apache.geronimo.configs/openjpa/2.1/car started in .000s
Module 23/64 org.apache.geronimo.configs/jasper/2.1/car started in .000s
Module 24/64 org.apache.geronimo.configs/tomcat6/2.1/car started in .000s
Module 25/64 org.apache.geronimo.configs/connector-deployer/2.1/car started in .094s
Module 26/64 org.apache.geronimo.configs/axis2/2.1/car started in .000s
Module 27/64 org.apache.geronimo.configs/jasper-deployer/2.1/car started in .016s
Module 28/64 org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car started in .204s
Module 29/64 org.apache.geronimo.configs/axis2-ejb-deployer/2.1/car started in .359s
Module 30/64 org.apache.geronimo.configs/jaxws-ejb-deployer/2.1/car started in .000s
Module 31/64 org.apache.geronimo.configs/jaxws-deployer/2.1/car started in .000s
Module 32/64 org.apache.geronimo.configs/openejb-deployer/2.1/car started in .000s
Module 33/64 org.apache.geronimo.configs/axis2-deployer/2.1/car started in .032s
Module 34/64 org.apache.geronimo.configs/axis2-ejb/2.1/car started in .000s
Module 35/64 org.apache.geronimo.configs/ca-helper-tomcat/2.1/car started in .094s
Module 36/64 org.apache.geronimo.plugins/agent/2.1/car started in .593s
Module 37/64 org.apache.geronimo.plugins/agent-ds/2.1/car started in .000s
Module 38/64 org.apache.geronimo.configs/mejb/2.1/car started in .000s
Module 39/64 org.apache.geronimo.configs/tomcat6-clustering-builder-wadi/2.1/car started in .125s
Module 40/64 org.apache.geronimo.configs/tomcat6-deployer/2.1/car started in .000s
Module 41/64 org.apache.geronimo.configs/clustering/2.1/car started in .016s
Module 42/64 org.apache.geronimo.plugins/debugviews-console-tomcat/2.1/car 2008-05-05 15:51:28,765 INFO (GeronimoLog.java:79) - Root WebApplicationContext: initialization started
15:51:28,765 INFO [ContextLoader] Root WebApplicationContext: initialization started
2008-05-05 15:51:28,812 INFO (GeronimoLog.java:79) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@19e2380: display name [Root WebApplicationContext]; startup date [Mon May 05 15:51:28 EEST 2008]; root of context hierarchy
15:51:28,812 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@19e2380: display name [Root WebApplicationContext]; startup date [Mon May 05 15:51:28 EEST 2008]; root of context hierarchy
2008-05-05 15:51:28,859 DEBUG (GeronimoLog.java:66) - Class [org.apache.commons.collections.map.LinkedMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LinkedMap in classloader org.apache.geronimo.configs/spring/2.1/car
15:51:28,859 DEBUG [ClassUtils] Class [org.apache.commons.collections.map.LinkedMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LinkedMap in classloader org.apache.geronimo.configs/spring/2.1/car
2008-05-05 15:51:28,859 DEBUG (GeronimoLog.java:66) - Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap in classloader org.apache.geronimo.configs/spring/2.1/car
15:51:28,859 DEBUG [ClassUtils] Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap in classloader org.apache.geronimo.configs/spring/2.1/car
2008-05-05 15:51:28,906 DEBUG (GeronimoLog.java:66) - Loading schema mappings from [META-INF/spring.schemas]
15:51:28,906 DEBUG [PluggableSchemaResolver] Loading schema mappings from [META-INF/spring.schemas]
2008-05-05 15:51:28,921 DEBUG (GeronimoLog.java:66) - Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www 15:51:28,921 DEBUG [PluggableSchemaResolver] Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframew 2008-05-05 15:51:28,921 DEBUG (GeronimoLog.java:66) - Loading schema mappings from [META-INF/spring.schemas]
15:51:28,921 DEBUG [PluggableSchemaResolver] Loading schema mappings from [META-INF/spring.schemas]
2008-05-05 15:51:28,937 DEBUG (GeronimoLog.java:66) - Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www 15:51:28,937 DEBUG [PluggableSchemaResolver] Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframew 2008-05-05 15:51:28,953 INFO (GeronimoLog.java:79) - Loading XML bean definitions from ServletContext resource [/WEB-INF/pluto-portal-driver-services-config.xml]
15:51:28,953 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/pluto-portal-driver-services-config.xml]
2008-05-05 15:51:28,968 DEBUG (GeronimoLog.java:66) - Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
15:51:28,968 DEBUG [DefaultDocumentLoader] Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
2008-05-05 15:51:28,968 DEBUG (GeronimoLog.java:66) - Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath: spring-beans.dtd
15:51:28,968 DEBUG [BeansDtdResolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath: spring-beans.dtd
2008-05-05 15:51:29,000 DEBUG (GeronimoLog.java:66) - Loaded mappings [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.a 15:51:29,000 DEBUG [DefaultNamespaceHandlerResolver] Loaded mappings [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.co 2008-05-05 15:51:29,000 DEBUG (GeronimoLog.java:70) - Ignoring namespace handler [org.springframework.scripting.config.LangNamespaceHandler]: handler class not found
java.lang.ClassNotFoundException: org.springframework.scripting.config.LangNamespaceHandler in classloader org.apache.geronimo.plugins/console-tomcat_portal-driver.war/2.1/car
at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:428)
at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3826)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4327)
at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:60)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:388)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:241)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:359)
at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$9dce2cbf.startConfiguration(<generated>)
at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)As far as I have understood the java.lang.ClassNotFoundException exception is coming because of an older Spring version. I have been developing a web application with this server and it is using newer version of the Spring-framework than the Geronimo (in the geronimo repository there is the 2.0.5 version and my application uses the 2.5.2 version). This is good error message when an application is deployed (I have overridden the old Spring package in my application) but why it is happening when starting the server without deployments?
I suppose there is some kind of caching system somewhere that I haven't found yet. I have cleaned the C:\geronimo\repository\MyApplication folder and removed the C:\geronimo\var\config\config.xml line about MyApplications.
Any ideas?
Regards,
Timo Ratilainen
|

|
Re: ClassNotFoundException LangNamespaceHandler in classloader console-tomcat_portal-driver.war
On May 5, 2008, at 9:16 AM, timo.ratilainen wrote: Problem: I'm starting the Geronimo 2.1 server. There should be no applications installed. I got following stacktrace:
15:51:11,125 INFO [Log4jService] ---------------------------------------------- 15:51:11,125 INFO [Log4jService] Started Logging Service 15:51:11,125 INFO [Log4jService] Runtime Information: 15:51:11,125 INFO [Log4jService] Install Directory = C:\geronimo 15:51:11,125 INFO [Log4jService] JVM in use = Sun Microsystems Inc. Java 1.6.0_05 15:51:11,125 INFO [Log4jService] Java Information: 15:51:11,125 INFO [Log4jService] System property [java.runtime.name] = Java(TM) SE Runtime Environment 15:51:11,125 INFO [Log4jService] System property [java.runtime.version] = 1.6.0_05-b13 15:51:11,125 INFO [Log4jService] System property [os.name] = Windows XP 15:51:11,125 INFO [Log4jService] System property [os.version] = 5.1 15:51:11,125 INFO [Log4jService] System property [sun.os.patch.level] = Service Pack 2 15:51:11,125 INFO [Log4jService] System property [os.arch] = x86 15:51:11,125 INFO [Log4jService] System property [java.class.version] = 50.0 15:51:11,125 INFO [Log4jService] System property [locale] = fi_FI 15:51:11,125 INFO [Log4jService] System property [unicode.encoding] = UnicodeLittle 15:51:11,125 INFO [Log4jService] System property [file.encoding] = Cp1252 15:51:11,125 INFO [Log4jService] System property [java.vm.name] = Java HotSpot(TM) Client VM 15:51:11,125 INFO [Log4jService] System property [java.vm.vendor] = Sun Microsystems Inc. 15:51:11,125 INFO [Log4jService] System property [java.vm.version] = 10.0-b19 15:51:11,125 INFO [Log4jService] System property [java.vm.info] = mixed mode 15:51:11,125 INFO [Log4jService] System property [java.home] = C:\Program Files\Java\jdk1.6.0_05\jre 15:51:11,125 INFO [Log4jService] System property [java.classpath] = null 15:51:11,125 INFO [Log4jService] System property [java.library.path] = C:\Program Files\Java\jdk1.6.0_05\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;"C:\Program Files\Java\jdk1.6.0_05\bin";C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\apache-ant-1.7.0\bin 15:51:11,125 INFO [Log4jService] System property [java.endorsed.dirs] = C:\geronimo\lib\endorsed;C:\Program Files\Java\jdk1.6.0_05\jre\lib\endorsed 15:51:11,125 INFO [Log4jService] System property [java.ext.dirs] = C:\Program Files\Java\jdk1.6.0_05\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext 15:51:11,125 INFO [Log4jService] System property [sun.boot.class.path] = C:\geronimo\lib\endorsed\yoko-rmi-spec-1.0-r615303.jar;C:\geronimo\lib\endorsed\yoko-spec-corba-1.0-r615303.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_05\jre\lib\jc 15:51:11,125 INFO [Log4jService] ---------------------------------------------- Booting Geronimo Kernel (in Java 1.6.0_05)... Module 1/64 org.apache.geronimo.framework/j2ee-security/2.1/car started in .391s Module 2/64 org.apache.geronimo.framework/rmi-naming/2.1/car started in .000s Module 3/64 org.apache.geronimo.framework/j2ee-system/2.1/car started in .000s Module 4/64 org.apache.geronimo.framework/jee-specs/2.1/car started in .000s Module 5/64 org.apache.geronimo.framework/transformer-agent/2.1/car started in .000s Module 6/64 org.apache.geronimo.framework/server-security-config/2.1/car started in .047s Module 7/64 org.apache.geronimo.framework/plugin/2.1/car started in .079s Module 8/64 org.apache.geronimo.framework/xmlbeans/2.1/car started in .000s Module 9/64 org.apache.geronimo.configs/myfaces-deployer/2.1/car started in .562s Module 10/64 org.apache.geronimo.configs/myfaces/2.1/car started in .047s Module 11/64 org.apache.geronimo.configs/j2ee-server/2.1/car started in .000s Module 12/64 org.apache.geronimo.configs/j2ee-deployer/2.1/car started in .000s Module 13/64 org.apache.geronimo.framework/geronimo-gbean-deployer/2.1/car started in .000s Module 14/64 org.apache.geronimo.configs/activemq-ra/2.1/car started in 4.766s Module 15/64 org.apache.geronimo.configs/activemq-broker/2.1/car started in .000s Module 16/64 org.apache.geronimo.configs/system-database/2.1/car started in .000s Module 17/64 org.apache.geronimo.configs/transaction/2.1/car started in .000s Module 18/64 org.apache.geronimo.configs/uddi-tomcat/2.1/car started in 7.140s Module 19/64 org.apache.geronimo.configs/axis/2.1/car started in .000s Module 20/64 org.apache.geronimo.configs/webservices-common/2.1/car started in .000s Module 21/64 org.apache.geronimo.configs/openejb/2.1/car started in .828s Module 22/64 org.apache.geronimo.configs/openjpa/2.1/car started in .000s Module 23/64 org.apache.geronimo.configs/jasper/2.1/car started in .000s Module 24/64 org.apache.geronimo.configs/tomcat6/2.1/car started in .000s Module 25/64 org.apache.geronimo.configs/connector-deployer/2.1/car started in .094s Module 26/64 org.apache.geronimo.configs/axis2/2.1/car started in .000s Module 27/64 org.apache.geronimo.configs/jasper-deployer/2.1/car started in .016s Module 28/64 org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car started in .204s Module 29/64 org.apache.geronimo.configs/axis2-ejb-deployer/2.1/car started in .359s Module 30/64 org.apache.geronimo.configs/jaxws-ejb-deployer/2.1/car started in .000s Module 31/64 org.apache.geronimo.configs/jaxws-deployer/2.1/car started in .000s Module 32/64 org.apache.geronimo.configs/openejb-deployer/2.1/car started in .000s Module 33/64 org.apache.geronimo.configs/axis2-deployer/2.1/car started in .032s Module 34/64 org.apache.geronimo.configs/axis2-ejb/2.1/car started in .000s Module 35/64 org.apache.geronimo.configs/ca-helper-tomcat/2.1/car started in .094s Module 36/64 org.apache.geronimo.plugins/agent/2.1/car started in .593s Module 37/64 org.apache.geronimo.plugins/agent-ds/2.1/car started in .000s Module 38/64 org.apache.geronimo.configs/mejb/2.1/car started in .000s Module 39/64 org.apache.geronimo.configs/tomcat6-clustering-builder-wadi/2.1/car started in .125s Module 40/64 org.apache.geronimo.configs/tomcat6-deployer/2.1/car started in .000s Module 41/64 org.apache.geronimo.configs/clustering/2.1/car started in .016s Module 42/64 org.apache.geronimo.plugins/debugviews-console-tomcat/2.1/car 2008-05-05 15:51:28,765 INFO (GeronimoLog.java:79) - Root WebApplicationContext: initialization started 15:51:28,765 INFO [ContextLoader] Root WebApplicationContext: initialization started 2008-05-05 15:51:28,812 INFO (GeronimoLog.java:79) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@19e2380: display name [Root WebApplicationContext]; startup date [Mon May 05 15:51:28 EEST 2008]; root of context hierarchy 15:51:28,812 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@19e2380: display name [Root WebApplicationContext]; startup date [Mon May 05 15:51:28 EEST 2008]; root of context hierarchy 2008-05-05 15:51:28,859 DEBUG (GeronimoLog.java:66) - Class [org.apache.commons.collections.map.LinkedMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LinkedMap in classloader org.apache.geronimo.configs/spring/2.1/car 15:51:28,859 DEBUG [ClassUtils] Class [org.apache.commons.collections.map.LinkedMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LinkedMap in classloader org.apache.geronimo.configs/spring/2.1/car 2008-05-05 15:51:28,859 DEBUG (GeronimoLog.java:66) - Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap in classloader org.apache.geronimo.configs/spring/2.1/car 15:51:28,859 DEBUG [ClassUtils] Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap in classloader org.apache.geronimo.configs/spring/2.1/car 2008-05-05 15:51:28,906 DEBUG (GeronimoLog.java:66) - Loading schema mappings from [META-INF/spring.schemas] 15:51:28,906 DEBUG [PluggableSchemaResolver] Loading schema mappings from [META-INF/spring.schemas] 2008-05-05 15:51:28,921 DEBUG (GeronimoLog.java:66) - Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www 15:51:28,921 DEBUG [PluggableSchemaResolver] Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframew 2008-05-05 15:51:28,921 DEBUG (GeronimoLog.java:66) - Loading schema mappings from [META-INF/spring.schemas] 15:51:28,921 DEBUG [PluggableSchemaResolver] Loading schema mappings from [META-INF/spring.schemas] 2008-05-05 15:51:28,937 DEBUG (GeronimoLog.java:66) - Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www 15:51:28,937 DEBUG [PluggableSchemaResolver] Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframew 2008-05-05 15:51:28,953 INFO (GeronimoLog.java:79) - Loading XML bean definitions from ServletContext resource [/WEB-INF/pluto-portal-driver-services-config.xml] 15:51:28,953 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/pluto-portal-driver-services-config.xml] 2008-05-05 15:51:28,968 DEBUG (GeronimoLog.java:66) - Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] 15:51:28,968 DEBUG [DefaultDocumentLoader] Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] 2008-05-05 15:51:28,968 DEBUG (GeronimoLog.java:66) - Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath: spring-beans.dtd 15:51:28,968 DEBUG [BeansDtdResolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath: spring-beans.dtd 2008-05-05 15:51:29,000 DEBUG (GeronimoLog.java:66) - Loaded mappings [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.a 15:51:29,000 DEBUG [DefaultNamespaceHandlerResolver] Loaded mappings [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.co 2008-05-05 15:51:29,000 DEBUG (GeronimoLog.java:70) - Ignoring namespace handler [org.springframework.scripting.config.LangNamespaceHandler]: handler class not found java.lang.ClassNotFoundException: org.springframework.scripting.config.LangNamespaceHandler in classloader org.apache.geronimo.plugins/console-tomcat_portal-driver.war/2.1/car at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:428) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.springframework.util.ClassUtils.forName(ClassUtils.java:201) at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117) at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96) at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3826) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4327) at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:60) at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:388) at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47) at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:241) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:359) at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$9dce2cbf.startConfiguration(<generated>) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
As far as I have understood the java.lang.ClassNotFoundException exception is coming because of an older Spring version. I have been developing a web application with this server and it is using newer version of the Spring-framework than the Geronimo (in the geronimo repository there is the 2.0.5 version and my application uses the 2.5.2 version). This is good error message when an application is deployed (I have overridden the old Spring package in my application) but why it is happening when starting the server without deployments?
I suppose there is some kind of caching system somewhere that I haven't found yet. I have cleaned the C:\geronimo\repository\MyApplication folder and removed the C:\geronimo\var\config\config.xml line about MyApplications.
Any ideas?
Heh. Well, you could set your log level to INFO instead of DEBUG. This is a non-fatal error. You'll get it when log Threshold is set to DEBUG. It's always happening, but Spring will only generate a log entry with log level is DEBUG.
Don't worry, there's no spooky caching going on... ;-) --kevan
|