geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boern <cayso...@gmail.com>
Subject Re: geronimo 2.1.4 failed to start from eclipse
Date Tue, 09 Jun 2009 05:05:42 GMT
I replaced the environment use sun jdk1.5 , a clear eclipse and a clean
gep,but  still cann`t deploy the WebJMS sample  in the geronimo doc

The console output is :

Distribution of module failed.  See log for details.
  Failed to load servlet class UserServlet
  org.apache.geronimo.common.DeploymentException: Failed to load servlet
class UserServlet
   at
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.getPortInfo(AdvancedWARWebServiceFinder.java:148)
   at
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:125)
   at
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
   at
org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:70)
   at
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97)
   at
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80)
   at
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
   at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
   at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
   at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   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:867)
   at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
   at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   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:867)
   at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
   at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
   at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
   at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
   at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
   at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
   at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
   at
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
   at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
   at java.security.AccessController.doPrivileged(Native Method)
   at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
   at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
   at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
   at sun.rmi.transport.Transport$1.run(Transport.java:153)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
   at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
   at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
   at java.lang.Thread.run(Thread.java:595)
  Caused by: java.lang.ClassNotFoundException: UserServlet in classloader
default/WebJMS/1.0/car
   at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:438)
   at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:280)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.getPortInfo(AdvancedWARWebServiceFinder.java:142)
   ... 49 more


On Tue, Jun 9, 2009 at 11:34 AM, Boern <cayson.z@gmail.com> wrote:

>
> It`s my environment:
>  Eclipse 3.4.1
>  GEP  2.1.4
>  sun jdk  1.6.12
>
> well,I will try jdk1.5 !
>
>
> On Tue, Jun 9, 2009 at 10:51 AM, Ying Tang <yingtang1983@gmail.com> wrote:
>
>> Hi Boern ,
>>
>> May I ask which version of GEP are you using?
>>
>> We recommend that you start from a clean Eclipse and a clean GEP.
>>
>> Geronimo 2.1.4 bases its functionalities on Sun JDK 5.  Could you try to
>> run Geronimo 2.1.4 with JDK 5? Thanks.
>>
>>
>> Best  Regards,
>>
>> Ying Tang
>>
>>
>>
>> 2009/6/9 Boern <cayson.z@gmail.com>
>>
>> Hi,all:
>>> why my geronimo always starts error ? I feel the geronimo is not  too
>>> stable!
>>> My eclipse is 3.4.1 for javaee and geronimo is 2.1.4
>>> This time,the console output is :
>>>
>>> Booting Geronimo Kernel (in Java 1.6.0_12)...
>>> Module  1/71
>>> org.apache.geronimo.framework/gshell-framework/2.1.4/car
>>> started in   .000s
>>> Module  2/71
>>> org.apache.geronimo.framework/gshell-geronimo/2.1.4/car
>>> started in   .000s
>>> Module  3/71
>>> org.apache.geronimo.framework/j2ee-system/2.1.4/car
>>> started in   .000s
>>> Module  4/71
>>> org.apache.geronimo.framework/transformer-agent/2.1.4/car
>>> started in   .000s
>>> Module  5/71
>>> org.apache.geronimo.framework/jee-specs/2.1.4/car
>>> started in   .000s
>>> Module  6/71
>>> org.apache.geronimo.framework/rmi-naming/2.1.4/car
>>> started in  1.152s
>>> Module  7/71
>>> org.apache.geronimo.framework/xmlbeans/2.1.4/car
>>> started in   .000s
>>> Module  8/71
>>> org.apache.geronimo.framework/plugin/2.1.4/car
>>> 2009-06-09 10:23:45,739 WARN  [ConfigurationUtil] Could not load gbean
>>> org.apache.geronimo.framework/plugin/2.1.4/car?ServiceModule=org.apache.geronimo.framework/plugin/2.1.4/car,j2eeType=GBean,name=Archiver
>>> java.lang.NoClassDefFoundError:
>>> org/codehaus/plexus/personality/plexus/lifecycle/phase/Contextualizable
>>>     at java.lang.ClassLoader.defineClass1(Native Method)
>>>     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>>     at
>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>     at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>     at java.lang.ClassLoader.defineClass1(Native Method)
>>>     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>>     at
>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>     at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:508)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:466)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:505)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:466)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:505)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:417)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:280)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>     at java.lang.Class.getDeclaredMethods0(Native Method)
>>>     at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>>     at java.lang.Class.getMethod0(Class.java:2670)
>>>     at java.lang.Class.getMethod(Class.java:1603)
>>>     at
>>> org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237)
>>>     at
>>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:245)
>>>     at
>>> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:354)
>>>     at
>>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
>>>     at
>>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
>>>     at
>>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     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$$64bde49a.startConfiguration(<generated>)
>>>     at
>>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
>>>     at
>>> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>>>     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)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>     ... 58 more
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> org/codehaus/plexus/personality/plexus/lifecycle/phase/Contextualizable
>>>     at java.lang.ClassLoader.defineClass1(Native Method)
>>>     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>>     at
>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>     at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>     at java.lang.ClassLoader.defineClass1(Native Method)
>>>     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>>     at
>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>     at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:508)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:466)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:505)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClassInternal(MultiParentClassLoader.java:466)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.checkParents(MultiParentClassLoader.java:505)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:417)
>>>     at
>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:280)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>     at java.lang.Class.getDeclaredMethods0(Native Method)
>>>     at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>>     at java.lang.Class.getMethod0(Class.java:2670)
>>>     at java.lang.Class.getMethod(Class.java:1603)
>>>     at
>>> org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237)
>>>     at
>>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:245)
>>>     at
>>> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:354)
>>>     at
>>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
>>>     at
>>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
>>>     at
>>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     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$$64bde49a.startConfiguration(<generated>)
>>>     at
>>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
>>>     at
>>> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
>>>     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)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>     ... 58 more
>>>
>>>
>>> --
>>> Boern Parx
>>>
>>
>>
>
>
> --
> Boern Parx
>



-- 
Boern Parx

Mime
View raw message