Hi, I have set up a 2 node JBoss-4.0.0 cluster. I enabled the HTTP session replication by changing the Snapshotmode to instant in jboss-service.xml . Also, I made the application distributable. The startup showed no error. When I brought down on instance that was serving the request, the request got forwarded to the next instance, but the session objects were not replicated/ Lost. I didn't get any error messages,though. However, when I stopped the network for that system, I got following errors--
12:09:24,718 WARN [ReplicationInterceptor] beforeCompletion(): runPreparePhase failed. Transaction is now rolled back org.jboss.cache.lock.TimeoutException: rsp=sender=Airavatha:33098, retval=null, received=false, suspected=false at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2139) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2161) ..................................................................... at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) 12:09:24,720 ERROR [JBossCacheManager] processSessionRepl: failed with exception: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=agni.localdomain/37, BranchQual=, localId=37] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.util.NestedRuntimeException: ; - nested throwable: (org.jboss.cache.lock.TimeoutException: rsp=sender=Airavatha:33098, retval=null, received=false, suspected=false)) 12:09:24,720 INFO [STDOUT] java.lang.IllegalStateException: No transaction. 12:09:24,720 INFO [STDOUT] at org.jboss.tm.TxManager.rollback(TxManager.java:331) 12:09:24,720 INFO [STDOUT] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:134) ........................................................................................ 12:09:24,718 WARN [ReplicationInterceptor] beforeCompletion(): runPreparePhase failed. Transaction is now rolled back org.jboss.cache.lock.TimeoutException: rsp=sender=Airavatha:33098, retval=null, received=false, suspected=false at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2139) ................................................................................................ 12:09:24,720 ERROR [JBossCacheManager] processSessionRepl: failed with exception: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=agni.localdomain/37, BranchQual=, localId=37] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.util.NestedRuntimeException: ; - nested throwable: (org.jboss.cache.lock.TimeoutException: rsp=sender=Airavatha:33098, retval=null, received=false, suspected=false)) 12:09:24,720 INFO [STDOUT] java.lang.IllegalStateException: No transaction. 12:09:24,720 INFO [STDOUT] at org.jboss.tm.TxManager.rollback(TxManager.java:331) 12:09:24,720 INFO [STDOUT] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:134) ................................................................................................................. 12:09:24,722 WARN [InstantSnapshotManager] Failed to replicate sessionID:CNlLcl28UE3hx-uwrJhmzA**.node1 java.lang.RuntimeException: JBossCacheManager.processSessionRepl(): failed to replicate session. ....................................................................................................................... Caused by: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=agni.localdomain/37, BranchQual=, localId=37] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.util.NestedRuntimeException: ; - nested throwable: (org.jboss.cache.lock.TimeoutException: rsp=sender=Airavatha:33098, retval=null, received=false, suspected=false)) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) 12:09:24,720 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91) ........................................................................................................................... I'm not able to figure out what might have gone wrong!! thanks & regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879255#3879255 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879255 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user