1 Reply Latest reply on Jun 17, 2011 4:42 AM by Jörg Eschke

    Seam EjbSynchronization passivation failure

    Robert Lamie Newbie

      Hi all,


      We have several seam applications (seam 2.1.x) deployed in a jboss 4.2.3 container.


      Every 5 minutes, an error is thrown providing information about a serialization problem on seam stateful ejb : EjbSynchronizations


      Has someone already faced this issue ? Any pointers welcome !


      RL




      2011-04-30 00:10:50,857 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Attempting to passivate; id=4sa4d1d-p1236-go1h8e4i-1-go1rdc9k-1ya7
      2     2011-05-30 00:09:50,358 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Saving session state to: /USR/jboss/server/shop/tmp/sessions/EjbSynchronizations-go1hazsp-f/4sa4d1d-p1236-go1h8e4i-1-go1rdc9k-1ya7.ser
      4     2011-05-30 00:09:50,384 FATAL [org.jboss.serial.persister.RegularObjectPersister] error
      5     java.lang.reflect.InvocationTargetException
      6             at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
      7             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      8             at java.lang.reflect.Method.invoke(Method.java:585)
      9             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      10             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      11             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      12             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      13             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      14             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      15             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      16             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      17             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      18             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      19             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      20             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      21             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      22             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      23             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      24             at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      25             at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
      26             at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.writeObject(CopyOnWriteArrayList.java:772)
      27             at sun.reflect.GeneratedMethodAccessor663.invoke(Unknown Source)
      28             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      29             at java.lang.reflect.Method.invoke(Method.java:585)
      30             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      31             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      32             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      33             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      34             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      35             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      36             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      37             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      38             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      39             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      40             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      41             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      42             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      43             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      44             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      45             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      46             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      47             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      48             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      49             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      50             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      51             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      52             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      53             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      54             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      55             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      56             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      57             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      58             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      59             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      60             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      61             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      62             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      63             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      64             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      65             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      66             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      67             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      68             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      69             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      70             at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      71             at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
      72             at java.util.ArrayList.writeObject(ArrayList.java:569)
      73             at sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
      74             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      75             at java.lang.reflect.Method.invoke(Method.java:585)
      76             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      77             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      78             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      79             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      80             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      81             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      82             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      83             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      84             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      85             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      86             at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
      87             at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
      88             at java.util.LinkedList.writeObject(LinkedList.java:755)
      89             at sun.reflect.GeneratedMethodAccessor657.invoke(Unknown Source)
      90             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      91             at java.lang.reflect.Method.invoke(Method.java:585)
      92             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
      93             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
      94             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      95             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      96             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      97             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      98             at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
      99             at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
      100             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      101             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      102             at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
      103             at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
      104             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      105             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      106             at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
      107             at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
      108             at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
      109             at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:857)
      110             at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
      111             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      112             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      113             at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
      114             at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
      115             at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:390)
      116             at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:301)
      117             at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:209)
      118     Caused by: java.lang.NoClassDefFoundError: org/jaxen/VariableContext
      119             at java.lang.Class.getDeclaredMethods0(Native Method)
      120             at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      121             at java.lang.Class.getDeclaredMethod(Class.java:1907)
      122             at org.jboss.serial.classmetamodel.ClassMetaData.lookupMethodOnHierarchy(ClassMetaData.java:102)
      123             at org.jboss.serial.classmetamodel.ClassMetaData.lookupInternalMethods(ClassMetaData.java:432)
      124             at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:122)
      125             at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
      126             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
      127             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      128             at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
      129             at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
      130             at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
      131             at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
      132             at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
      133             at org.jboss.serial.persister.ObjectOutputStreamProxy.writeFields(ObjectOutputStreamProxy.java:79)
      134             at org.jboss.serial.persister.ObjectOutputStreamProxy.defaultWriteObject(ObjectOutputStreamProxy.java:68)
      135             at java.util.Vector.writeObject(Vector.java:1018)
      136             ... 112 more