[
https://issues.jboss.org/browse/JBAS-9245?page=com.atlassian.jira.plugin....
]
Felix Ullrich commented on JBAS-9245:
-------------------------------------
I've attached a minimal example. My main-method looks like this:
{code:title=MainClass.java|borderStyle=solid}
// Some comments here
final InitialContext context = new InitialContext();
context.lookup("StatefulTestBean/remote");
statefulTest.doSomethingStateful();
Thread.sleep(5000);
statefulTest.doSomethingStateful();
{code}
The passivation of the SFSB fails with the following error:
{code}
14:09:30,593 ERROR [org.jboss.ejb3.cache.simple.SimpleStatefulCache.StatefulTestBean]
problem passivation thread: javax.ejb.EJBException: Could not passivate; failed to save
state
at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:409)
[:1.7.17]
at
org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:397)
[:1.7.17]
at
org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:301)
[:1.7.17]
Caused by: java.io.IOException: Metadata Serialization Error
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:193)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
[:6.0.0.Final]
at
org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:1048)
[:1.7.17]
at
org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:393)
[:1.7.17]
... 2 more
Caused by: java.io.IOException
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
[:6.0.0.Final]
at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:188)
[:6.0.0.Final]
... 22 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
[:6.0.0.Final]
... 115 more
Caused by: java.io.IOException
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)
[:1.6.0_24]
... 120 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
[:6.0.0.Final]
... 127 more
Caused by: java.io.IOException
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)
[:1.6.0_24]
... 132 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
[:6.0.0.Final]
... 159 more
Caused by: java.lang.NoClassDefFoundError: javax/faces/context/FacesContext
at java.lang.Class.getDeclaredConstructors0(Native Method) [:1.6.0_24]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) [:1.6.0_24]
at java.lang.Class.getConstructor0(Class.java:2699) [:1.6.0_24]
at java.lang.Class.getDeclaredConstructor(Class.java:1985) [:1.6.0_24]
at
org.jboss.serial.classmetamodel.SunConstructorManager.getConstructor(SunConstructorManager.java:70)
[:6.0.0.Final]
at org.jboss.serial.classmetamodel.ClassMetaData.findConstructor(ClassMetaData.java:396)
[:6.0.0.Final]
at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:128)
[:6.0.0.Final]
at
org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
[:6.0.0.Final]
at
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
[:6.0.0.Final]
at
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
[:6.0.0.Final]
at
org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
[:6.0.0.Final]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24]
at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)
[:1.6.0_24]
... 163 more
Caused by: java.lang.ClassNotFoundException: javax.faces.context.FacesContext from
BaseClassLoader@3b8c1b{vfs:///C:/java/AS/jboss-6.0.0.Final/server/default/deploy/StatefulTest.ear}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480)
[jboss-classloader.jar:2.2.0.GA]
at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24]
... 181 more
{code}
Passivation of a @Stateful session bean with an @Inject'ed
@Stateless session bean fails with not-serializable error.
---------------------------------------------------------------------------------------------------------------------
Key: JBAS-9245
URL:
https://issues.jboss.org/browse/JBAS-9245
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 6.0.0.Final
Reporter: Felix Ullrich
Assignee: Carlo de Wolf
I've the same problem described in this issue
https://issues.jboss.org/browse/JBAS-8384
Could you please resolve it (maybe in 6.1.0) and dont just close it. Thank you
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira