[jboss-user] [JBossCache] - Exception occured during transaction commit - JBoss tree Cac

sesha.govindan do-not-reply at jboss.com
Fri Jul 6 16:21:11 EDT 2007


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

and my class has implementaion to get Transaction Manager like below

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 used 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)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061466#4061466

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061466



More information about the jboss-user mailing list