geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Unable to deserialize GBeanData
Date Fri, 05 Sep 2008 13:11:45 GMT
It looks like somehow you've altered your local geronimo copy to use a  
different version of the jacc spec jar than the web console was  
deployed with.  I don't have any ideas how this might have happened.

Or perhaps you have a console compiled for a different geronimo  
version???

thanks
david jencks

On Sep 5, 2008, at 8:44 AM, Maximilian123 wrote:

>
> Hi,
> every time I want to start the geronimo server I get the following  
> error.
> Does someone know what this error message means. Thank you in advance.
> Maximilian
>
> 14:24:14,234 ERROR [GBeanInstanceState] Error while starting; GBean  
> is now
> in the FAILED state:
> abstractName="org.apache.geronimo.configs/webconsole-jetty6/2.0.2/ 
> car?configurationName=org.apache.geronimo.configs/webconsole- 
> jetty6/2.0.2/car"
> org.apache.geronimo.kernel.config.InvalidConfigException: Unable to
> deserialize GBeanState in classloader:
> [org.apache.geronimo.kernel.classloader.JarFileClassLoader
> id=org.apache.geronimo.configs/webconsole-jetty6/2.0.2/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:171)
> 	at
> org 
> .apache 
> .geronimo.kernel.config.Configuration.<init>(Configuration.java:278)
> 	at sun.reflect.GeneratedConstructorAccessor169.newInstance(Unknown  
> Source)
> 	at
> sun 
> .reflect 
> .DelegatingConstructorAccessorImpl 
> .newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 	at
> org 
> .apache 
> .geronimo 
> .gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:946)
> 	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:539)
> 	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:310)
> 	at
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .SimpleConfigurationManager 
> .loadConfiguration(SimpleConfigurationManager.java:278)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$ 
> $FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at
> org 
> .apache 
> .geronimo 
> .gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> 	at
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
> 	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.kernel.config.EditableConfigurationManager$ 
> $EnhancerByCGLIB$$2c64bbf.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/webconsole-jetty6/2.0.2/car? 
> J2EEApplication=org.apache.geronimo.configs/webconsole-jetty6/2.0.2/ 
> 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)
> 	... 28 more
> Caused by: java.io.IOException: Unable to deserialize GBeanData
> org.apache.geronimo.configs/webconsole-jetty6/2.0.2/car? 
> J2EEApplication=org.apache.geronimo.configs/webconsole-jetty6/2.0.2/ 
> car,j2eeType=JACCManager,name=JACCManager,
> attribute: contextIdToPermissionsMap
> 	at
> org.apache.geronimo.gbean.GBeanData 
> $V0Externalizable.readExternal(GBeanData.java:295)
> 	... 30 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:546)
> 	at  
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java: 
> 1552)
> 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: 
> 1466)
> 	at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1433)
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	at java.util.Hashtable.readObject(Hashtable.java:847)
> 	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  
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
> 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: 
> 1809)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 
> 1719)
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at java.io.ObjectInputStream.access$300(ObjectInputStream.java:185)
> 	at
> java.io.ObjectInputStream 
> $GetFieldImpl.readFields(ObjectInputStream.java:2069)
> 	at java.io.ObjectInputStream.readFields(ObjectInputStream.java:518)
> 	at java.security.Permissions.readObject(Permissions.java:368)
> 	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  
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
> 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: 
> 1809)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 
> 1719)
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	at java.util.HashMap.readObject(HashMap.java:1067)
> 	at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at  
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
> 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: 
> 1809)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 
> 1719)
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at  
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java: 
> 1908)
> 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: 
> 1832)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 
> 1719)
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	at java.util.HashMap.readObject(HashMap.java:1067)
> 	at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at  
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
> 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: 
> 1809)
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java: 
> 1719)
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	at
> org.apache.geronimo.gbean.GBeanData 
> $V0Externalizable.readExternal(GBeanData.java:291)
> 	... 30 more
> -- 
> View this message in context: http://www.nabble.com/Unable-to-deserialize-GBeanData-tp19330476s134p19330476.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message