Arfat Shaikh [https://community.jboss.org/people/s_arfat] created the discussion
"Stateful Bean Session timeout" To view the discussion, visit: https://community.jboss.org/message/831916#831916 -------------------------------------------------------------- Hello Team, I am using JBoss 6 to host my Application. But now i am facing error of Statefull Session bean as below. 2013-08-08 11:02:33,953 ERROR [org.jboss.ejb3.cache.simple.SimpleStatefulCache.GenericMasterDaoImpl] (SFSB Removal Thread - jboss.j2ee:jar=app-domain.jar,name=GenericMasterDaoImpl,service=EJB3) problem removing SFSB thread: java.lang.RuntimeException: java.io.IOException at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:1011) [:1.7.21] at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:564) [:1.7.21] at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:324) [:1.7.21] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:491) [:1.7.21] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$RemovalTimeoutTask.run(SimpleStatefulCache.java:186) [:1.7.21] Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) [:6.1.0.Final] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163) [:6.1.0.Final] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344) [:1.6.0_29] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) [:6.1.0.Final] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:982) [:1.7.21] ... 4 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source) [:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) [:6.1.0.Final] ... 18 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) [:6.1.0.Final] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344) [:1.6.0_29] at java.util.HashMap.readObject(HashMap.java:1030) [:1.6.0_29] ... 22 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1089.invoke(Unknown Source) [:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) [:6.1.0.Final] ... 30 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.ObjectInputStreamProxy.defaultReadObject(ObjectInputStreamProxy.java:78) [:6.1.0.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.readObject(AbstractEntityManagerImpl.java:1105) [:3.6.6.Final] ... 34 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source) [:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) [:6.1.0.Final] ... 60 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) [:6.1.0.Final] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344) [:1.6.0_29] at java.util.HashMap.readObject(HashMap.java:1030) [:1.6.0_29] ... 64 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source) [:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) [:6.1.0.Final] ... 90 more Caused by: java.io.IOException at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) [:6.1.0.Final] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) [:6.1.0.Final] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) [:6.1.0.Final] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) [:6.1.0.Final] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344) [:1.6.0_29] at java.util.HashMap.readObject(HashMap.java:1030) [:1.6.0_29] ... 94 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1092.invoke(Unknown Source) [:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) [:6.1.0.Final] ... 102 more Caused by: java.lang.IllegalStateException: Unable to locate member [com.ottoint.app.model.AbstractEntity#id] at org.hibernate.ejb.metamodel.AbstractAttribute.readObject(AbstractAttribute.java:122) [:3.6.6.Final] ... 106 more Please help me to resolve this issue. For reference I am attaching ejb3-interceptors-aop.xml -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/831916#831916] Start a new discussion in Beginner's Corner at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user