Desde que cambié mis beans de búsqueda a @Stateless (a propósito, qué pasa con las transacciones de un EntityManager Stateless?) la mayoría de mis SFSB ya no son pasivables, y cuando el servidor de aplicaciones quiere guardar el estado de la sesión o conversación o vista, se tira sendos:
ERROR [org.jboss.ejb3.cache.simple.SimpleStatefulCache.MiBean] 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.21] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:397) [:1.7.21] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:301) [:1.7.21] Caused by: java.io.IOException: Metadata Serialization Error at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:193) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181) [:6.1.0.Final] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24] at org.jboss.serial.io.MarshalledObject.(MarshalledObject.java:51) [:6.1.0.Final] at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:1048) [:1.7.21] at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181) [:6.1.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.21] ... 2 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:188) [:6.1.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.1.0.Final] ... 26 more Caused by: java.io.IOException: Metadata Serialization Error at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:193) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeUnshared(ObjectOutputStreamProxy.java:64) [:6.1.0.Final] at org.jboss.weld.bean.proxy.util.SerializableProxy.writeObject(SerializableProxy.java:92) [:6.1.0.Final] ... 31 more Caused by: java.io.IOException: Metadata Serialization Error at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:193) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:188) [:6.1.0.Final] ... 35 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:188) [:6.1.0.Final] ... 61 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.1.0.Final] ... 154 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) [:6.1.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] ... 159 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.1.0.Final] ... 166 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) [:6.1.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] ... 171 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.1.0.Final] ... 233 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) [:6.1.0.Final] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24] at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1246) [:1.6.0_24] ... 238 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor613.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.1.0.Final] ... 295 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) [:6.1.0.Final] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) [:1.6.0_24] at java.util.HashSet.writeObject(HashSet.java:267) [:1.6.0_24] ... 299 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor617.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.1.0.Final] ... 350 more Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext at java.lang.Class.getDeclaredMethods0(Native Method) [:1.6.0_24] at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [:1.6.0_24] at java.lang.Class.getDeclaredMethod(Class.java:1935) [:1.6.0_24] at org.jboss.serial.classmetamodel.ClassMetaData.lookupMethodOnHierarchy(ClassMetaData.java:102) [:6.1.0.Final] at org.jboss.serial.classmetamodel.ClassMetaData.lookupInternalMethods(ClassMetaData.java:432) [:6.1.0.Final] at org.jboss.serial.classmetamodel.ClassMetaData.(ClassMetaData.java:122) [:6.1.0.Final] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.writeFields(ObjectOutputStreamProxy.java:79) [:6.1.0.Final] at org.jboss.serial.persister.ObjectOutputStreamProxy.defaultWriteObject(ObjectOutputStreamProxy.java:68) [:6.1.0.Final] at java.util.Vector.writeObject(Vector.java:1012) [:1.6.0_24] ... 354 more Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext from BaseClassLoader@592fa617{vfs:///home/roberto/JAVA/jboss-6.1.0.Final/server/all/deployers/jbossws.deployer} at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.1.GA] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24] ... 371 more
Ahora, los puntos de inyección podrían perfectamente no ser la causa de que mis beans no sean serializables, así es que vamos a hacer una investigación un poco más a fondo del asunto.
- El que estoy usando de prueba implementa java.io.Serializable y tiene su
private static final long serialVersionUID = -9118873235650429307L;
- En algún momento también vimos que las inyecciones desde JSF tampoco son Serializables (>>) en este caso no estoy usando ninguna.
Lo raro es que dejando todas las inyecciones de SLSB transientes, el error sigue apareciendo…
¿Necesitaré que absolutamente todos los objetos que usa el bean sean serializables? Probablemente, veamos: No es suficiente, y el error sigue saliendo.
Según este post >> que los Maps tampoco implementan serializable, así es que se podría estar callendo por ésto (sería últil que el bendito error te dijera qué es lo que no pudo serializar…). Aers. No tengo maps, a menos que estén en un objeto.
Otros dicen que puede ser el recurso JPA inyectado (@PersistenceContext). Let’s see. Still de a.
De hecho según la especificación de EJB3 >> el EntityManager si es pasivable (sec.4.2.1)
¿Quizás sea por un error de librerías dentro de JBoss >>? Porque lo freak es que en el stack trace diga
Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext
De hecho me estoy inclinando por esta última opción, ya que si en el método @PrePassivate seteo todo nulo, se sigue cayendo igual
@PrePassivate public void prepararParaPasivar(){ this.atgributo=null; //idem para todos los atributos del bean }
…
En ese caso estoy optando por deshabilitar la pasivación para esta aplicación como dice acá >>
Es decir, en deploy/ejb3-interceptors-aop.xml poner un removalTimeoutSeconds menor que el idleTimeoutSeconds en la siguiente línea
<annotation expr="class(*) AND !class(@org.jboss.ejb3.annotation.CacheConfig) AND !class(@org.jboss.ejb3.annotation.Clustered)"> @org.jboss.ejb3.annotation.CacheConfig (maxSize=100000, idleTimeoutSeconds=600, removalTimeoutSeconds=300) </annotation>
pues el otro método que proponen, pese que dicen puede ser más eficiente, requeriría una reestructuración (léase tecleo) mayor como el estar preocupándose de los métodos @Remove
Nótese que esta es la configuración de servidor para todos los beans que no estén anotados @CacheConfig y que no estén clusterizados. Con org.jboss.ejb3.annotation.CacheConfig se podría hacer lo mismo para beans en específico.