0 Replies Latest reply on Aug 21, 2012 1:34 PM by kelly goedert

    viewscoped beans and web session replication

    kelly goedert Apprentice

      Hi,

       

      If I enable web session replication in my app which is built with seam 3 + cdi + jsf 2 in jboss 6.1 I get this exception:

       

       

      {code}

      [org.infinispan.interceptors.InvocationContextInterceptor] Execution error: : org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)

                at org.infinispan.util.Util.rewrapAsCacheException(Util.java:477) [:4.2.0.FINAL]

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:123) [:4.2.0.FINAL]

                at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:399) [:4.2.0.FINAL]

                at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:101) [:4.2.0.FINAL]

                at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:125) [:4.2.0.FINAL]

                at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:230) [:4.2.0.FINAL]

                at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:217) [:4.2.0.FINAL]

                at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:213) [:4.2.0.FINAL]

                at org.infinispan.interceptors.DistributionInterceptor.visitPrepareCommand(DistributionInterceptor.java:279) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.LockingInterceptor.visitPrepareCommand(LockingInterceptor.java:134) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) [:4.2.0.FINAL]

                at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:106) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) [:4.2.0.FINAL]

                at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:106) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:48) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) [:4.2.0.FINAL]

                at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:106) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:101) [:4.2.0.FINAL]

                at org.infinispan.interceptors.DistTxInterceptor.visitPrepareCommand(DistTxInterceptor.java:59) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) [:4.2.0.FINAL]

                at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:106) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:87) [:4.2.0.FINAL]

                at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:58) [:4.2.0.FINAL]

                at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:106) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) [:4.2.0.FINAL]

                at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:76) [:4.2.0.FINAL]

                at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:106) [:4.2.0.FINAL]

                at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:120) [:4.2.0.FINAL]

                at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:273) [:4.2.0.FINAL]

                at org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:106) [:4.2.0.FINAL]

                at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:305) [:4.2.0.FINAL]

                at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:97) [:4.2.0.FINAL]

                at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:96) [:4.2.0.FINAL]

                at org.infinispan.batch.BatchContainer.resolveTransaction(BatchContainer.java:130) [:4.2.0.FINAL]

                at org.infinispan.batch.BatchContainer.endBatch(BatchContainer.java:107) [:4.2.0.FINAL]

                at org.infinispan.batch.BatchContainer.endBatch(BatchContainer.java:92) [:4.2.0.FINAL]

                at org.infinispan.CacheDelegate.endBatch(CacheDelegate.java:389) [:4.2.0.FINAL]

                at org.infinispan.AbstractDelegatingCache.endBatch(AbstractDelegatingCache.java:47) [:4.2.0.FINAL]

                at org.jboss.web.tomcat.service.session.distributedcache.ispn.DistributedCacheManager.batch(DistributedCacheManager.java:582) [:1.0.0.Final]

                at org.jboss.web.tomcat.service.session.distributedcache.ispn.DistributedCacheManager.storeSessionData(DistributedCacheManager.java:222) [:1.0.0.Final]

                at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1190) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2320) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:345) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:50) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:88) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62) [:6.1.0.Final]

                at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]

                at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.1.0.Final]

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.1.0.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159) [:6.1.0.Final]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.1.0.Final]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.1.0.Final]

                at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.1.0.Final]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.1.0.Final]

                at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:504) [:6.1.0.Final]

                at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:437) [:6.1.0.Final]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.1.0.Final]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_31]

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

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.marshallCall(CommandAwareRpcDispatcher.java:243) [:4.2.0.FINAL]

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:270) [:4.2.0.FINAL]

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:121) [:4.2.0.FINAL]

                ... 77 more

      Caused by: org.infinispan.CacheException: Unable to marshall value AtomicHashMap{delegate=org.infinispan.util.FastCopyHashMap@1c270e6}

                at org.infinispan.marshall.MarshalledValue.serialize(MarshalledValue.java:100) [:4.2.0.FINAL]

                at org.infinispan.marshall.MarshalledValue.getRaw(MarshalledValue.java:156) [:4.2.0.FINAL]

                at org.infinispan.marshall.MarshalledValue$Externalizer.writeObject(MarshalledValue.java:248) [:4.2.0.FINAL]

                at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.writeObject(ConstantObjectTable.java:322) [:4.2.0.FINAL]

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:144) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115) [:6.1.0.Final]

                at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:61) [:4.2.0.FINAL]

                at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.writeObject(ConstantObjectTable.java:322) [:4.2.0.FINAL]

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:144) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115) [:6.1.0.Final]

                at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:61) [:4.2.0.FINAL]

                at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.writeObject(ConstantObjectTable.java:322) [:4.2.0.FINAL]

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:144) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115) [:6.1.0.Final]

                at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectToObjectStream(GenericJBossMarshaller.java:98) [:4.2.0.FINAL]

                at org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:93) [:4.2.0.FINAL]

                at org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:31) [:4.2.0.FINAL]

                at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:22) [:4.2.0.FINAL]

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.marshallCall(CommandAwareRpcDispatcher.java:240) [:4.2.0.FINAL]

                ... 79 more

      Caused by: java.io.NotSerializableException: org.jboss.weld.bean.ManagedBean

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1246) [:1.6.0_31]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_31]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_31]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_31]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_31]

                at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at java.util.HashMap.writeObject(HashMap.java:1001) [:1.6.0_31]

                at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) [:1.6.0_31]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_31]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_31]

                at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at java.util.HashMap.writeObject(HashMap.java:1001) [:1.6.0_31]

                at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) [:1.6.0_31]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_31]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_31]

                at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at java.util.HashMap.writeObject(HashMap.java:1001) [:1.6.0_31]

                at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) [:1.6.0_31]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_31]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_31]

                at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at java.util.HashMap.writeObject(HashMap.java:1001) [:1.6.0_31]

                at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) [:1.6.0_31]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_31]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_31]

                at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at java.util.HashMap.writeObject(HashMap.java:1001) [:1.6.0_31]

                at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) [:1.6.0_31]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_31]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_31]

                at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_31]

                at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_31]

                at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.serialize(SimpleCachableMarshalledValue.java:356) [:2.0.0.Final]

                at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.writeExternal(SimpleCachableMarshalledValue.java:337) [:2.0.0.Final]

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:827) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115) [:6.1.0.Final]

                at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:59) [:4.2.0.FINAL]

                at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:61) [:4.2.0.FINAL]

                at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.writeObject(ConstantObjectTable.java:322) [:4.2.0.FINAL]

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:144) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115) [:6.1.0.Final]

                at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:218) [:4.2.0.FINAL]

                at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.writeObject(ConstantObjectTable.java:322) [:4.2.0.FINAL]

                at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:144) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [:6.1.0.Final]

                at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115) [:6.1.0.Final]

                at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectToObjectStream(GenericJBossMarshaller.java:98) [:4.2.0.FINAL]

                at org.infinispan.marshall.VersionAwareMarshaller.objectToObjectStream(VersionAwareMarshaller.java:150) [:4.2.0.FINAL]

                at org.infinispan.marshall.MarshalledValue.serialize(MarshalledValue.java:91) [:4.2.0.FINAL]

                ... 100 more

      Caused by: an exception which occurred:

                in object org.jboss.ha.framework.server.SimpleCachableMarshalledValue@7fffffff

                in object org.infinispan.util.FastCopyHashMap@1c270e6

                in object org.infinispan.atomic.AtomicHashMap@7a7705f

                in object org.infinispan.marshall.MarshalledValue@7a7705f

                in object org.infinispan.commands.write.PutKeyValueCommand@b2c115ff

                in object org.infinispan.commands.tx.PrepareCommand@dbf82937

       

      {code}

       

      Is this supposed to happen? My beans should all be session scoped if I want to replicate the web session?