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 serialize GBeanData
Date Mon, 18 Aug 2008 23:24:40 GMT
I remember this happening quite a while ago but I thought it had been  
fixed in openejb.... are you sure you are using the same g version on  
all these platforms?

thanks
david jencks

On Aug 18, 2008, at 1:39 PM, Cedric Hurst wrote:

>
> I've been a heavy user of Geronimo on Linux and Windows, but this is  
> my first
> time running G on Mac OS X.  I'm running into an issue at deploy- 
> time and
> I'm not sure if its related to filesystem permissions or something  
> else.
> Here's the trace:
>
> Geronimo Application Server started
> 14:28:16,367 WARN  [startup] Unresolved ejb reference
> "ejb.EventFacade/placeFacade" in bean "EventFacade".  Will attempt
> resolution again at runtime.
> 14:28:17,920 WARN  [startup] Unresolved ejb reference
> "web.jsf.PlaceBean/placeFacade" in bean "GeronimoEnc".  Will attempt
> resolution again at runtime.
> 14:28:17,959 ERROR [Deployer] Deployment failed due to
> java.io.IOException: Unable to serialize GBeanData for
> default/MoworkingEAR/1.0/car?J2EEApplication=default/MoworkingEAR/ 
> 1.0/car,j2eeType=WebModule,name=MoworkingWeb2.war
> 	at
> org 
> .apache 
> .geronimo 
> .kernel 
> .config.SerializedGBeanState.storeGBeans(SerializedGBeanState.java: 
> 145)
> 	at
> org 
> .apache 
> .geronimo 
> .kernel 
> .config.SerializedGBeanState.writeObject(SerializedGBeanState.java:92)
> 	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.invokeWriteObject(ObjectStreamClass.java: 
> 917)
> 	at  
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 
> 1339)
> 	at
> java 
> .io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 
> 1290)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1079)
> 	at
> java 
> .io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 
> 1375)
> 	at  
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 
> 1347)
> 	at
> java 
> .io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 
> 1290)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1079)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 
> 302)
> 	at java.util.HashMap.writeObject(HashMap.java:1039)
> 	at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at  
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java: 
> 917)
> 	at  
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 
> 1339)
> 	at
> java 
> .io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 
> 1290)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1079)
> 	at
> java 
> .io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 
> 1375)
> 	at  
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 
> 1347)
> 	at
> java 
> .io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 
> 1290)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1079)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 
> 302)
> 	at
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .SerializedConfigurationMarshaler 
> .writeConfigurationData(SerializedConfigurationMarshaler.java:66)
> 	at
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .ConfigurationUtil.writeConfigurationData(ConfigurationUtil.java:216)
> 	at
> org 
> .apache 
> .geronimo 
> .system 
> .configuration 
> .ExecutableConfigurationUtil 
> .writeConfiguration(ExecutableConfigurationUtil.java:155)
> 	at
> org 
> .apache 
> .geronimo 
> .system 
> .configuration 
> .RepositoryConfigurationStore 
> .install(RepositoryConfigurationStore.java:338)
> 	at org.apache.geronimo.deployment.Deployer.install(Deployer.java:348)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> 	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.GeneratedMethodAccessor121.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:613)
> Caused by: java.io.IOException: Unable to write attribute:  
> componentContext
> in gbean:
> default/MoworkingEAR/1.0/car?J2EEApplication=default/MoworkingEAR/ 
> 1.0/car,j2eeType=WebModule,name=MoworkingWeb2.war
> 	at org.apache.geronimo.gbean.GBeanData.writeExternal(GBeanData.java: 
> 214)
> 	at
> org 
> .apache 
> .geronimo 
> .kernel 
> .config.SerializedGBeanState.storeGBeans(SerializedGBeanState.java: 
> 143)
> 	... 72 more
> Caused by: java.io.NotSerializableException:
> org.apache.openejb.assembler.classic.JndiEncBuilder$Ref
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1081)
> 	at
> java 
> .io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 
> 1375)
> 	at  
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 
> 1347)
> 	at
> java 
> .io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 
> 1290)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1079)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 
> 302)
> 	at java.util.HashMap.writeObject(HashMap.java:1039)
> 	at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at  
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java: 
> 917)
> 	at  
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 
> 1339)
> 	at
> java 
> .io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 
> 1290)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 
> 1079)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 
> 302)
> 	at org.apache.geronimo.gbean.GBeanData.writeExternal(GBeanData.java: 
> 212)
> 	... 73 more
>
> The EAR is also available here:
> http://svn.assembla.com/svn/moworking/deploy/MoworkingEAR.ear
>
> Thanks in advance,
> - C
> -- 
> View this message in context: http://www.nabble.com/Unable-to-serialize-GBeanData-tp19039585s134p19039585.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message