geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CG <learn....@gmail.com>
Subject Re: Geronimo WTP client for eclipse , server cannot start
Date Fri, 29 Feb 2008 17:25:02 GMT
I am using JDK version is java_ee_sdk-5_04-linux, the JVM version
called to run Geronimo  is 1.6.0_04
 ( From Booting Geronimo Kernel (in Java 1.6.0_04)...) (for both
running at terminal and running from Eclipse)

Here is the full error log

Booting Geronimo Kernel (in Java 1.6.0_04)...
Module  1/64 org.apache.geronimo.framework/j2ee-security/2.1/car
          started in  1.490s
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   .437s
Module  7/64 org.apache.geronimo.framework/plugin/2.1/car
          started in   .410s
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  3.461s
Module 10/64 org.apache.geronimo.configs/myfaces/2.1/car
          started in   .711s
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 24.755s
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   .001s
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 22.887s
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  9.309s
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  1.773s
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   .255s
Module 28/64 org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car
         01:05:32,575 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car?configurationName=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car"
org.apache.geronimo.kernel.config.InvalidConfigException: Unable to
deserialize GBeanState in classloader:
[org.apache.geronimo.kernel.config.MultiParentClassLoader
id=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car]
	at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:124)
	at org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(SerializedGBeanState.java:65)
	at org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(ConfigurationData.java:172)
	at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:278)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
	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.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:160)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
	at sun.reflect.GeneratedMethodAccessor27.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$$fc1de82e.loadConfiguration(<generated>)
	at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:153)
	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)
Caused by: java.io.IOException: Unable to deserialize GBeanData
org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car?J2EEApplication=null,WebModule=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car,j2eeType=JACCManager,name=JACCManager
	at org.apache.geronimo.gbean.GBeanData$V0Externalizable.readExternal(GBeanData.java:322)
	at org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:247)
	at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:111)
	... 30 more
Caused by: java.io.IOException: Unable to deserialize GBeanData
org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car?J2EEApplication=null,WebModule=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car,j2eeType=JACCManager,name=JACCManager,
attribute: contextIdToPermissionsMap
	at org.apache.geronimo.gbean.GBeanData$V0Externalizable.readExternal(GBeanData.java:295)
	... 32 more
Caused by: java.io.InvalidClassException:
javax.security.jacc.WebRoleRefPermission; local class incompatible:
stream classdesc serialVersionUID = 7625355096788237915, local class
serialVersionUID = 1
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
	at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1462)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1312)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	at java.util.Hashtable.readObject(Hashtable.java:858)
	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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	at java.io.ObjectInputStream.access$300(ObjectInputStream.java:188)
	at java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:2109)
	at java.io.ObjectInputStream.readFields(ObjectInputStream.java:519)
	at java.security.Permissions.readObject(Permissions.java:369)
	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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	at java.util.HashMap.readObject(HashMap.java:1030)
	at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	at java.util.HashMap.readObject(HashMap.java:1030)
	at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	at org.apache.geronimo.gbean.GBeanData$V0Externalizable.readExternal(GBeanData.java:291)
	... 32 more
Server Startup failed

org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
	at sun.reflect.GeneratedMethodAccessor27.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$$fc1de82e.loadConfiguration(<generated>)
	at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:153)
	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)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Error starting configuration gbean
org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:180)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
	... 16 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration gbean failed to start
org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car
reason: Unable to deserialize GBeanState in classloader:
[org.apache.geronimo.kernel.config.MultiParentClassLoader
id=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car]
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
	... 17 more












On Fri, Feb 29, 2008 at 9:11 AM, Kevan Miller <kevan.miller@gmail.com> wrote:
>
>
>  On Feb 28, 2008, at 12:05 PM, CG wrote:
>
>  > Hi, thanks for everyone.
>  > I have managed to download and set up the Geronimo 2.1 , start up with
>  > no problem under terminal, using ./bin/start-server (set the JAVA_HOME
>  > earlier)
>  >
>  > Then , I try to configure Eclipse Geronimo v2 adaptor plugin , to use
>  > the Geronimo 2.1 .
>  > When I try to start it under Eclipse, it encounters problem  when
>  > starting "remote-deploy-tomcat"
>  >
>  > Could it be problem of the adaptor ? could it because the adaptor only
>  > support geronimo 2.0x ?
>  >
>  > Error msg  (after filtering)
>  > =========
>  >  : (skip):
>  >  :
>  > 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   .255s
>  > Module 28/64 org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car
>  >         01:05:32,575 ERROR [GBeanInstanceState] Error while starting;
>  > GBean is now in the FAILED state:
>  > abstractName="org.apache.geronimo.configs/remote-deploy-tomcat/2.1/
>  > car?configurationName=org.apache.geronimo.configs/remote-deploy-
>  > tomcat/2.1/car"
>  > org.apache.geronimo.kernel.config.InvalidConfigException: Unable to
>  > deserialize GBeanState in classloader:
>  > [org.apache.geronimo.kernel.config.MultiParentClassLoader
>  > id=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car]
>  > at
>  > org
>  > .apache
>  > .geronimo
>  > .kernel
>  > .config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:124)
>  > at
>  > org
>  > .apache
>  > .geronimo
>  > .kernel
>  > .config.SerializedGBeanState.getGBeans(SerializedGBeanState.java:65)
>  > at
>  > org
>  > .apache
>  > .geronimo
>  > .kernel.config.ConfigurationData.getGBeans(ConfigurationData.java:172)
>  > at
>  > org
>  > .apache
>  > .geronimo.kernel.config.Configuration.<init>(Configuration.java:278)
>  > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  > Method)
>  > at
>  > sun
>  > .reflect
>  > .NativeConstructorAccessorImpl
>  > .newInstance(NativeConstructorAccessorImpl.java:39)
>  > at
>  > sun
>  > .reflect
>  > .DelegatingConstructorAccessorImpl
>  > .newInstance(DelegatingConstructorAccessorImpl.java:27)
>  > at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>  > at
>  > org
>  > .apache
>  > .geronimo
>  > .gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
>  > at
>  > org
>  > .apache
>  > .geronimo
>  > .gbean
>  > .runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:
>  > 268)
>  > at
>  > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstan
>
>  Can you paste the entire stacktrace (including the "Caused by:"
>  exceptions? Also what JRE are you using?
>
>  --kevan
>

Mime
View raw message