2 Replies Latest reply on Jun 24, 2011 8:17 AM by Prasad Deshpande

    Any reason for following error?

    Prasad Deshpande Expert

      Hi Guys,

       

      I'm trying to move my application from JBossCache to Infinispan, I've replaced the jboss cache specific code completely with infinispan & started application, logged-in/out of the application. All went fine without error, application kept running for sometime say 5-10 mins after my log-off & suddenly following error stack appeared on the console. My application has EJB3 entity beans.

       

      With JBossCache, it was all working fine.. no errors nothing... but after moving to infinispan, this error is coming up.

       

      Looking at error, I'm not sure whether error is due to infinispan trying to persist entries in cache or passivating entitybeans (don't see any relation here though.. but still ) something else (any jar conflicts)..

       

      Any clue from anyone of you would really be useful..

       

      BTW, app server version is 5.1.0 & infinispan version 4.2.1-Final

       

      10:23:33,281 FATAL \[RegularObjectPersister\] error

      java.lang.reflect.InvocationTargetException

          at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)

          at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)

          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

          at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.writeObject(ConcurrentReaderHashMap.java:1316)

          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:597)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)

          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

          at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.writeObject(ConcurrentReaderHashMap.java:1316)

          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:597)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)

          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

          at java.util.HashMap.writeObject(HashMap.java:1001)

          at sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)

          at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)

          at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)

          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

          at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)

          at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:972)

          at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)

          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

          at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:393)

          at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:382)

          at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:300)

      Caused by: java.lang.NoClassDefFoundError: oracle/ons/ONSException

          at java.lang.Class.getDeclaredMethods0(Native Method)

          at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)

          at java.lang.Class.getDeclaredMethod(Class.java:1935)

          at org.jboss.serial.classmetamodel.ClassMetaData.lookupMethodOnHierarchy(ClassMetaData.java:102)

          at org.jboss.serial.classmetamodel.ClassMetaData.lookupInternalMethods(ClassMetaData.java:432)

          at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:122)

          at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)

          at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)

          at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)

          at org.jboss.serial.persister.ObjectOutputStreamProxy.writeFields(ObjectOutputStreamProxy.java:79)

          at org.jboss.serial.persister.ObjectOutputStreamProxy.defaultWriteObject(ObjectOutputStreamProxy.java:68)

          at java.util.Vector.writeObject(Vector.java:1012)

          ... 213 more

      Caused by: java.lang.ClassNotFoundException: oracle.ons.ONSException from BaseClassLoader@f93ee4{vfsfile:/D:/jboss-5.1.0-SVN/server/eFp-Current-Oracle/conf/jboss-service.xml}

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

          ... 230 more

       

       

      Here is my configuration file...

       

      <?xml version="1.0" encoding="UTF-8"?>

      <infinispan

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

            xsi:schemaLocation="urn:infinispan:config:4.2 http://www.infinispan.org/schemas/infinispan-config-4.2.xsd"

            xmlns="urn:infinispan:config:4.2">

         <global/>

         <default>

            <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="20000"/>

            <eviction wakeUpInterval="-1"/>

         </default>

         <namedCache name="ACT_DEADLINE_CACHE"/>

         <namedCache name="ACTION_CACHE"/>

         <namedCache name="ARCHIVE_CONNECTOR_CACHE"/>

         <namedCache name="BUSINESS_FUNCTION_CACHE"/>

         <namedCache name="DEADLINE_CONF_CACHE"/>

         <namedCache name="ENUM_CACHE"/>

         <namedCache name="EVENT_CACHE"/>

         <namedCache name="FORM_CACHE"/>

         <namedCache name="GLOBAL_VARIABLE_CACHE"/>

         <namedCache name="MAP_INSTANCES_CACHE"/>

         <namedCache name="PERMISSION_CACHE"/>

         <namedCache name="REPORT_CACHE"/>

         <namedCache name="RULE_CACHE"/>

         <namedCache name="TYPE_CACHE"/>

         <namedCache name="TYPE_LINK_CACHE"/>

         <namedCache name="USER_CACHE"/>

         <namedCache name="VIEWER_KEY_CACHE"/>

         <namedCache name="WATERMARK_CACHE"/>

         <namedCache name="WORKLIST_CACHE"/>

         <namedCache name="LIST_RESOURCE_CACHE">

            <invocationBatching enabled="true"/>

         </namedCache>

      </infinispan>