4 Replies Latest reply on Jul 9, 2008 1:02 AM by praveena chalamcharla

    externalizeSession(): exception

    praveena chalamcharla Newbie

      Hi.,

      I too got a similar exception with a stack trace as follows:

      12:56:12,480 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: HLOwZHvHuqLYftNHai-+4w**.node1 lastAccessedTime: 1215415572415 version: 40 lastOutdated: 0]
      java.io.NotSerializableException: echopointng.test.TestInstanceNG$TestCaseInvoker
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
      at java.util.HashMap.writeObject(HashMap.java:1019)
      at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
      at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1284)
      at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
      at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
      at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027)
      at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316)
      at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
      at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
      at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
      at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
      at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
      at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
      at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:675)
      12:56:12,508 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: HLOwZHvHuqLYftNHai-+4w**.node1 lastAccessedTime: 1215415572477 version: 41 lastOutdated: 0]
      java.io.NotSerializableException: echopointng.test.TestInstanceNG$TestCaseInvoker
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
      at java.util.HashMap.writeObject(HashMap.java:1019)
      at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
      at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1284)
      at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
      at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
      at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027)
      at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316)
      at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
      at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
      at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
      at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
      at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
      at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
      at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:675)


      Please let me know the correction to be made..
      I ve got this error when I was trying to implement clustering.



      Thankyou in advance,
      Praveena.

        • 1. Re: externalizeSession(): exception
          Brian Stansberry Master

          Don't put echopointng.test.TestInstanceNG$TestCaseInvoker in the session.

          • 2. Re: externalizeSession(): exception
            praveena chalamcharla Newbie

            Hi,

            I found this with many other test clusters too. When I found the NotSerializableException pointing to some file, I ve updated it by making Serializable. Later I got at some other location, and I ve kept on updating the files. Finally it have pointed to some other java source class. But I found this Externalize Session Exception every where pointing to JbossCacheService.

            And so Mr. Stanberry,

            please let me know why the externalizeSession(): exception occur? Coz, for many other applciations too, I ve got the similar exception pointing to JbossCacheService.


            15:43:03,511 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: 4TLQ8H87cFoHBGa7sEqAhQ**.node2 lastAccessedTime: 1215511983477 version: 62 lastOutdated: 0]
            java.io.NotSerializableException: java.io.CharArrayWriter
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.Hashtable.writeObject(Hashtable.java:842)
            at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.HashMap.writeObject(HashMap.java:1019)
            at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at nextapp.echo2.app.event.EventListenerList.writeObject(EventListenerList.java:187)
            at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at nextapp.echo2.app.event.EventListenerList.writeObject(EventListenerList.java:187)
            at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1356)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at nextapp.echo2.app.event.EventListenerList.writeObject(EventListenerList.java:187)
            at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.Hashtable.writeObject(Hashtable.java:842)
            at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at nextapp.echo2.app.event.EventListenerList.writeObject(EventListenerList.java:187)
            at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.ArrayList.writeObject(ArrayList.java:674)
            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1284)
            at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:623)
            at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
            at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
            at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027)
            at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316)
            at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
            at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
            at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
            at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
            at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
            at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
            at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java.lang.Thread.run(Thread.java:675)





            Thank you.

            • 3. Re: externalizeSession(): exception
              Brian Stansberry Master

              You need to do more searching of this forum. I answer variants of this question all the time.

              JBossCacheService serializes your session into a byte[] so it can send it over the network to replicate a copy to other nodes. If you store an object that is Serializable in the session's attribute map, JBossCacheService is going to throw an exception when it tries to serialize the session.

              • 4. Re: externalizeSession(): exception
                praveena chalamcharla Newbie

                Thank you very much Mr. Stanberry for your patience in responding.