3 Replies Latest reply on Oct 15, 2007 11:09 AM by Nandhini Arumugam

    Transaction issue when using JBoss cache with Weblogic 8.1SP

    Nandhini Arumugam Newbie

      Hi,

      We are using JBoss Cache 1.4.1 with Weblogic 8.1SP4. Our application uses EJB Stateless session beans. We are facing the following exception. when replication is enabled. Please help us.

      ####<2007. 10. 11. ¿ÀÈÄ 6½Ã 59ºÐ 03ÃÊ KST> <m2p_was2> <ExecuteThread: '20' for queue: 'weblogic.kernel.Default'> <> <> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.skt.m2p.ba.svcmgmt.EUSMgmtBean.createDefaultEUSPage(com.skt.m2p.common.tray.RequestTray)],Xid=BEA1-0006A5DE4D0B18956CE6(28666635),Status=Rolled back. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=30,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=SM),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@186b077,re-Registered = false),SCInfo[m2p+SM]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.skt.m2p.ba.svcmgmt.EUSMgmtBean.createDefaultEUSPage(com.skt.m2p.common.tray.RequestTray)], weblogic.jdbc=t3://127.0.0.1:8100, START_AND_END_THREAD_EQUAL=false}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=SM+127.0.0.1:8100+m2p+t3+, XAResources={weblogic.jdbc.wrapper.JTSXAResourceImpl},NonXAResources={})],CoordinatorURL=SM+127.0.0.1:8100+m2p+t3+): weblogic.transaction.internal.AppSetRollbackOnlyException
      at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.java:508)
      at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1164)
      at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75)
      at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1069)
      at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:118)
      at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1202)
      at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:2007)
      at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:257)
      at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228)
      at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320)
      at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168)
      at com.skt.m2p.ba.svcmgmt.EUSMgmt_uyv9e8_EOImpl.createDefaultEUSPage(EUSMgmt_uyv9e8_EOImpl.java:650)
      at com.skt.m2p.ba.svcmgmt.EUSMgmt_uyv9e8_EOImpl_WLSkel.invoke(Unknown Source)
      at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
      at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
      at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
      --------------- nested within: ------------------
      weblogic.transaction.RollbackException: Unknown reason - with nested exception:
      [weblogic.transaction.internal.AppSetRollbackOnlyException]
      at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1687)
      at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:311)
      at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228)
      at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:320)
      at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168)
      at com.skt.m2p.ba.svcmgmt.EUSMgmt_uyv9e8_EOImpl.createDefaultEUSPage(EUSMgmt_uyv9e8_EOImpl.java:650)
      at com.skt.m2p.ba.svcmgmt.EUSMgmt_uyv9e8_EOImpl_WLSkel.invoke(Unknown Source)
      at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
      at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
      at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
      .>

      We tried cache without replication and it works fine. This exception occurs only if the replication is enabled.

      Please help.