Session replication exception in Jboss 7 with struts token interceptor in struts2.3.16.3 -
i getting following exception in jboss7 if struts2 action configured struts2 token session interceptor. jboss7 configured in cluster mode.
18:04:30,419 error [org.infinispan.transaction.tm.dummytransaction] (http-/10.103.36.134:12080-12) ispn000111: aftercompletion() failed synchronizationadapter{localtransaction=localtransaction{remotelockednodes=null, ismarkedforrollback=false, lockedkeys=null, backupkey locks=null, topologyid=26, isfromstatetransfer=false} org.infinispan.transaction.synchronization.synclocaltransaction@97} org.infinispan. transaction.synchronization.synchronizationadapter@b6: org.infinispan.cacheexception: not commit. @ org.infinispan.transaction.synchronization.synchronizationadapter.aftercompletion(synchronizationadapter.java:83) @ org.infinispan.transaction.tm.dummytransaction.notifyaftercompletion(dummytransaction.java:285) @ org.infinispan.transaction.tm.dummytransaction.runcommittx(dummytransaction.java:334) @ org.infinispan.transaction.tm.dummytransaction.commit(dummytransaction.java:91) @ org.infinispan.transaction.tm.dummybasetransactionmanager.commit(dummybasetransactionmanager.java:102) @ org.jboss.as.clustering.web.impl.transactionbatchingmanager.endbatch(transactionbatchingmanager.java:75) @ org.jboss.as.web.session.distributablesessionmanager.processsessionrepl(distributablesessionmanager.java:1527) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.session.distributablesessionmanager.storesession(distributablesessionmanager.java:865) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.session.instantsnapshotmanager.snapshot(instantsnapshotmanager.java:47) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.session.clusteredsessionvalve.handlerequest(clusteredsessionvalve.java:142) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.session.clusteredsessionvalve.invoke(clusteredsessionvalve.java:99) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.session.jvmroutevalve.invoke(jvmroutevalve.java:92) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.session.lockingvalve.invoke(lockingvalve.java:64) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.jboss.as.web.security.securitycontextassociationvalve.invoke(securitycontextassociationvalve.java:169) [jboss-as-web-7.2.0.final.jar:7.2.0.final] @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:145) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:97) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:559) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:102) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:336) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.coyote.http11.http11processor.process(http11processor.java:856) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:653) [jbossweb-7.2.0.final.jar:7.2.0.final] @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:920) [jbossweb-7.2.0.final.jar:7.2.0.final] @ java.lang.thread.run(thread.java:744) [rt.jar:1.7.0_51] caused by: javax.transaction.xa.xaexception @ org.infinispan.transaction.transactioncoordinator.handlecommitfailure(transactioncoordinator.java:224) @ org.infinispan.transaction.transactioncoordinator.commit(transactioncoordinator.java:177) @ org.infinispan.transaction.synchronization.synchronizationadapter.aftercompletion(synchronizationadapter.java:81) ... 22 more
struts.xml:
<interceptor-stack name="tokensessionstack"> <!-- <interceptor-ref name="tokensession"/> --> <interceptor-ref name="rosestack" /> </interceptor-stack>
i not seeing above exception if commented tokensession interceptor.
edit: looks struts token session interceptor giving kind of exception if project implemented combination of struts2 + spring3. body faced session replication problem combination?
Comments
Post a Comment