[jboss-user] [EJB 3.0] - I have an error with jboss seam

carojas do-not-reply at jboss.com
Wed Sep 27 14:53:29 EDT 2006


Hi,

I have a seam application. The application works fine but after 20 minuts this appear in the jboss. 


  | 10:50:57,642 ERROR [STDERR] java.lang.RuntimeException: java.io.IOException
  | 10:50:57,643 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365)
  | 10:50:57,643 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309)
  | 10:50:57,643 ERROR [STDERR]     at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169)
  | 10:50:57,643 ERROR [STDERR]     at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299)
  | 10:50:57,643 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126)
  | 10:50:57,643 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
  | 10:50:57,644 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  | 10:50:57,644 ERROR [STDERR]     at $Proxy1277.destroy(Unknown Source)
  | 10:50:57,645 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 10:50:57,655 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 10:50:57,655 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 10:50:57,655 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 10:50:57,655 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
  | 10:50:57,655 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  | 10:50:57,655 ERROR [STDERR]     at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211)
  | 10:50:57,655 ERROR [STDERR]     at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  | 10:50:57,655 ERROR [STDERR]     at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:195)
  | 10:50:57,656 ERROR [STDERR]     at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
  | 10:50:57,656 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
  | 10:50:57,657 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:595)
  | 10:50:57,657 ERROR [STDERR] Caused by: java.io.IOException
  | 10:50:57,657 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  | 10:50:57,658 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 10:50:57,659 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 10:50:57,659 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 10:50:57,659 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  | 10:50:57,659 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
  | 10:50:57,828 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  | 10:50:57,828 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 10:50:57,828 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 10:50:57,828 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165)
  | 10:50:57,829 ERROR [STDERR]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
  | 10:50:57,829 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342)
  | 10:50:57,829 ERROR [STDERR]     ... 35 more
  | 10:50:57,830 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException
  | 10:50:57,830 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 10:50:57,830 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 10:50:57,831 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 10:50:57,831 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 10:50:57,831 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103)
  | 10:50:57,831 ERROR [STDERR]     ... 61 more
  | 10:50:57,832 ERROR [STDERR] Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of org.hibernate.util.MarkerObject - org.hibernate.util.MarkerObject
  | 10:50:57,832 ERROR [STDERR]     at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:327)
  | 10:50:57,832 ERROR [STDERR]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
  | 10:50:57,832 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 10:50:57,832 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 10:50:57,832 ERROR [STDERR]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 10:50:57,832 ERROR [STDERR]     at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68)
  | 10:50:57,833 ERROR [STDERR]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
  | 10:50:57,833 ERROR [STDERR]     at org.hibernate.engine.StatefulPersistenceContext.deserialize(StatefulPersistenceContext.java:1264)
  | 10:50:57,833 ERROR [STDERR]     at org.hibernate.impl.SessionImpl.readObject(SessionImpl.java:1871)
  | 10:50:57,833 ERROR [STDERR]     ... 66 more
  | 10:50:57,834 ERROR [STDERR] Caused by: java.lang.InstantiationException: org.hibernate.util.MarkerObject
  | 10:50:57,834 ERROR [STDERR]     at java.lang.Class.newInstance0(Class.java:335)
  | 10:50:57,834 ERROR [STDERR]     at java.lang.Class.newInstance(Class.java:303)
  | 10:50:57,834 ERROR [STDERR]     at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:319)
  | 10:50:57,845 ERROR [STDERR]     ... 74 more
  | 10:50:57,845 WARN  [Contexts] Could not destroy component: plandenegociosFinder
  | java.lang.RuntimeException: java.io.IOException
  |         at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365)
  |         at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309)
  |         at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169)
  |         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299)
  |         at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126)
  |         at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87)
  |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
  |         at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  |         at $Proxy1277.destroy(Unknown Source)
  |         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.jboss.seam.util.Reflections.invoke(Reflections.java:13)
  |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  |         at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211)
  |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
  |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:195)
  |         at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
  |         at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687)
  |         at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579)
  |         at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678)
  |         at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663)
  |         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.io.IOException
  |         at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107)
  |         at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269)
  |         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  |         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  |         at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  |         at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
  |         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  |         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  |         at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  |         at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
  |         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  |         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  |         at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
  |         at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  |         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  |         at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
  |         at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
  |         at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342)
  |         ... 35 more
  | Caused by: java.lang.reflect.InvocationTargetException
  |         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.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103)
  |         ... 61 more
  | Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of org.hibernate.util.MarkerObject - org.hibernate.util.MarkerObject
  |         at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:327)
  |         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  |         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  |         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  |         at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
  |         at org.hibernate.engine.StatefulPersistenceContext.deserialize(StatefulPersistenceContext.java:1264)
  |         at org.hibernate.impl.SessionImpl.readObject(SessionImpl.java:1871)
  |         ... 66 more
  | Caused by: java.lang.InstantiationException: org.hibernate.util.MarkerObject
  |         at java.lang.Class.newInstance0(Class.java:335)
  |         at java.lang.Class.newInstance(Class.java:303)
  |         at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:319)
  |         ... 74 more
  | 

Any ideas?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974649#3974649

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974649



More information about the jboss-user mailing list