0 Replies Latest reply on Jul 6, 2007 1:29 PM by Shesathiri Govindan

    Exception occurred during commit of transaction -JBoss TreeC

    Shesathiri Govindan Newbie

      Hi,
      Anyone face this problem, please help me out. I am using Treecache and transaction is controled by Weblogic container through stateless bean. I passed the value in config file as
      com.csfb.opera.processLauncher.cache.TransactionManagerLookupImpl

      and my class has implementaion to get Transaction Manager

      public TransactionManager getTransactionManager() throws Exception {
      Context ic = new InitialContext();
      TransactionManager tm = (TransactionManager) ic.lookup("weblogic.transaction.TransactionManager");
      return tm;
      }

      It dose everything very well but during commit I get following Exception.

      I use Sleepycat org.jboss.cache.loader.bdbje.BdbjeCacheLoader as cacheloader and JBossCache1.4.1.SP3.

      at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.java:504)
      at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1154)
      at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75)
      at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1010)
      at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:115)
      at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1216)
      at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1990)
      at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:275)
      at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:246)
      at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
      at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
      at com.csfb.opera.processLauncher.ejb.processLauncherSession_gxma9q_EOImpl.startByRegion(processLauncherSession_gxma9q_EOImpl.java:1863)
      at com.csfb.opera.processLauncher.ejb.processLauncherSession_gxma9q_EOImpl_WLSkel.invoke(Unknown Source)
      at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
      at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
      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:415)
      at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)