5 Replies Latest reply on Aug 31, 2012 2:47 AM by Sandeep Bisht

    Getting CacheMarshller Error

    Sandeep Bisht Newbie

      Hi All ,

       

      I am getting following Error. when i add <distributable/>.

      All the pojo are serializable. please Provide solution.

       

       

       

      13:38:05,236 ERROR [CacheMarshaller300] Error while marshalling object: ReplicateCommand{cmds=PutDataMapCommand{fqn=/JSESSION/SDP-RAM_localhost/sheBeCHJIjsf6KtthQ9CKA__,

      dataVersion=null, data={0=60, 1=1341302884939, 3=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw={physicalPath=10.49.16.45:8280, javax.faces.request.chars

      et=ISO-8859-1, userbean=com.rancore.console.pojo.UserBean@b23fce, com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap={9010208165647245872={-4874816194257940906=

      [Ljava.lang.Object;@871041}, 8571085964965281080={4784335453130390163=[Ljava.lang.Object;@1adcd87, -9091387719714571582=[Ljava.lang.Object;@503e0e, -4681320931727828242=[

      Ljava.lang.Object;@11ed8f7}, -1814911074205640347={4871634882768477395=[Ljava.lang.Object;@1476718}, 7296156681281521247={3024315696957942691=[Ljava.lang.Object;@14d147d}

      }}serialized=false}}, globalTransaction=null, erase=false}}

      java.util.ConcurrentModificationException

              at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)

              at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392)

              at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391)

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

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

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

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

              at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

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

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

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

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

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

              at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

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

              at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:271)

              at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:252)

              at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)

              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)

              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

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

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:450)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallMap(CacheMarshaller200.java:541)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:369)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:491)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:318)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:491)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:318)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:195)

              at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:140)

              at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:179)

              at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:52)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:320)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:294)

              at org.jboss.cache.util.concurrent.WithinThreadExecutor.submit(WithinThreadExecutor.java:82)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:197)

              at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:458)

              at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:432)

              at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:437)

              at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)

              at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)

              at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)

              at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)

              at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)

              at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:284)

              at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:271)

              at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)

              at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:265)

              at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:672)

              at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:518)

              at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:275)

              at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:148)

              at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.putSession(AbstractJBossCacheService.java:417)

              at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1194)

              at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1635)

              at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:294)

              at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)

              at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:120)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

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

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:619)

      13:38:05,236 ERROR [CommandAwareRpcDispatcher] java.util.ConcurrentModificationException

      13:38:05,236 WARN  [/SDP-RAM] Failed to replicate session sheBeCHJIjsf6KtthQ9CKA__

      java.lang.RuntimeException: Failure to marshal argument(s)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:325)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:294)

              at org.jboss.cache.util.concurrent.WithinThreadExecutor.submit(WithinThreadExecutor.java:82)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:197)

              at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:458)

              at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:432)

              at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:437)

              at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)

              at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)

              at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)

              at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)

              at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)

              at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:284)

              at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:271)

              at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

              at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)

              at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)

              at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)

              at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:265)

              at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:672)

              at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:518)

              at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:275)

              at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:148)

              at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.putSession(AbstractJBossCacheService.java:417)

              at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1194)

              at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1635)

              at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:294)

              at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)

              at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:120)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

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

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:619)

      Caused by: java.util.ConcurrentModificationException

              at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)

              at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392)

              at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391)

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

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

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

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

              at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

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

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

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

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

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

              at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)

              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

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

              at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:271)

              at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:252)

              at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)

              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)

              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

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

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:450)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallMap(CacheMarshaller200.java:541)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:369)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:491)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:318)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:491)

              at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:318)

              at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)

              at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:195)

              at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:140)

              at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:179)

              at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:52)

              at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:320)

              ... 51 more

        • 1. Re: Getting CacheMarshller Error
          Manoj Kumar Newbie

          Hi Sandeep,

           

          Similar issue I am getting while deploying our application in cluster environment.

           

          Could you please share how did you resolve this.. thanks

          • 2. Re: Getting CacheMarshller Error
            Sandeep Bisht Newbie

            Hi Manoj,

             

            This issue really irritated me a lot,

            after checking my web.xml i found the state saving method is server instead of client. (we are using JSF).

             

            Please check if i tis Server, please change it to client. (In my case, I got the solution)

             

            <context-param>

                <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

                <param-value>client</param-value>

            </context-param>

             

            as i told u, we are using jsf.

             

             

            Please share the details (Environment, Framwork etc), and log (Traces).

            • 3. Re: Getting CacheMarshller Error
              Manoj Kumar Newbie

              Many Thanks Sandeep,

               

              Our application using JSF and JBoss [EAP] 5.1.2. We are facing issues while running application in cluster environment. I would appreciate a lot if you can share your view and give any suggestion.

               

              Following is thr log trace.

               

              java.io.NotSerializableException: org.springframework.jdbc.core.JdbcTemplate
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at java.util.HashMap.writeObject(HashMap.java:1001)
                  at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:352)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:333)
                  at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:460)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallMap(CacheMarshaller200.java:569)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:370)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:191)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:136)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:183)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:52)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:383)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:355)
                  at org.jboss.cache.util.concurrent.WithinThreadExecutor.submit(WithinThreadExecutor.java:82)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:210)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:744)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
                  at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:705)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:519)
                  at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:283)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:162)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:404)
                  at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1192)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2221)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:321)
                  at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
                  at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                  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:158)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
                  at java.lang.Thread.run(Thread.java:619)
              16:48:57,368 ERROR [CacheMarshaller300] Error while marshalling object: ReplicateCommand{cmds=PutDataMapCommand{fqn=/JSESSION/SIMUATJ5_localhost/SsnTB7RhaxEj10c96N8nKQ__, dataVersion=null, data={0=1, 1=1346273319488, 2=org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata@2242e18a, 3=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=java.util.HashMap@1167989885serialized=false}}, globalTransaction=null, erase=false}}
              java.io.NotSerializableException: org.springframework.jdbc.core.JdbcTemplate
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at java.util.HashMap.writeObject(HashMap.java:1001)
                  at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:352)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:333)
                  at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:460)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallMap(CacheMarshaller200.java:569)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:370)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:191)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:136)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:183)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:52)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:383)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:355)
                  at org.jboss.cache.util.concurrent.WithinThreadExecutor.submit(WithinThreadExecutor.java:82)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:210)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:744)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
                  at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:705)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:519)
                  at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:283)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:162)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:404)
                  at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1192)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2221)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:321)
                  at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
                  at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                  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:158)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
                  at java.lang.Thread.run(Thread.java:619)
              16:48:57,497 ERROR [CommandAwareRpcDispatcher] java.io.NotSerializableException: org.springframework.jdbc.core.JdbcTemplate
              16:48:57,581 ERROR [CommandAwareRpcDispatcher] java.io.NotSerializableException: org.springframework.jdbc.core.JdbcTemplate
              16:48:57,668 WARN  [/SIMUATJ5] Failed to replicate session SsnTB7RhaxEj10c96N8nKQ__
              java.lang.RuntimeException: Failure to marshal argument(s)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:388)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:355)
                  at org.jboss.cache.util.concurrent.WithinThreadExecutor.submit(WithinThreadExecutor.java:82)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:210)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:744)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
                  at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:705)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:519)
                  at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:283)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:162)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:404)
                  at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1192)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2221)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:321)
                  at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
                  at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                  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:158)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
                  at java.lang.Thread.run(Thread.java:619)
              Caused by: java.io.NotSerializableException: org.springframework.jdbc.core.JdbcTemplate
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at java.util.HashMap.writeObject(HashMap.java:1001)
                  at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:352)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:333)
                  at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:460)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallMap(CacheMarshaller200.java:569)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:370)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:191)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:136)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:183)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:52)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:383)
                  ... 55 more
              16:48:57,754 WARN  [/SIMUATJ5] Failed to replicate session E190fx+TMOa3kGVFlWdY-A__
              java.lang.RuntimeException: Failure to marshal argument(s)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:388)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:355)
                  at org.jboss.cache.util.concurrent.WithinThreadExecutor.submit(WithinThreadExecutor.java:82)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:210)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:744)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
                  at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
                  at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
                  at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
                  at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
                  at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
                  at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)
                  at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
                  at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:705)
                  at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:519)
                  at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:283)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:162)
                  at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:404)
                  at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1192)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2221)
                  at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:321)
                  at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
                  at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
                  at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
                  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                  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:158)
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
                  at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
                  at java.lang.Thread.run(Thread.java:619)
              Caused by: java.io.NotSerializableException: org.springframework.jdbc.core.JdbcTemplate
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at java.util.HashMap.writeObject(HashMap.java:1001)
                  at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
                  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:352)
                  at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:333)
                  at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
                  at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
                  at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
                  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:460)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallMap(CacheMarshaller200.java:569)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:370)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:519)
                  at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:314)
                  at org.jboss.cache.marshall.CacheMarshaller300.marshallObject(CacheMarshaller300.java:47)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:191)
                  at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:136)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:183)
                  at org.jboss.cache.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:52)
                  at org.jboss.cache.marshall.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:383)
                  ... 55 more

               

              • 4. Re: Getting CacheMarshller Error
                Sandeep Bisht Newbie

                I guess your javax.faces.STATE_SAVING_METHOD set to Client cause in your trace com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap is not shown.

                 

                From your Trace :

                 

                Quick Observation:

                 

                1.In your code, You are using some class level variable which are not serializable :

                   make them Transient.(it should be varible of jdbctemplate).

                 

                I hope Point 1 may help you, if not please send me more details on point 2nd, 3rd and 4th.

                 

                 

                2. can you mail me your code snnipt (if fessible.)

                 

                3. IS this error comes in some pages or entire project (when navigate) ?

                 

                4. Tell me, is there any ajax request or component you are using in your project (A4j, richfaces or primefaces)?

                • 5. Re: Getting CacheMarshller Error
                  Sandeep Bisht Newbie

                  please make sure :

                   

                  all managed bean and pojo implements serialzable interface.