Atomikos Forum

Upgrading from 3.8.0 to 3.9.0 : Pb de transaction !

Hi,

I try to upgrade from Atomikos 3.8.0 to 3.9.0
I had setMaxLifeTime(5) to my AtomikosDataSourceBean et I remove the setTestQuery.

When i run the same unit test i had this error :
java.lang.IllegalStateException: Not yet initialized
    at com.atomikos.datasource.xa.XATransactionalResource.createXid(XATransactionalResource.java:637)
    at com.atomikos.datasource.xa.XAResourceTransaction.<init>(XAResourceTransaction.java:191)
    at com.atomikos.datasource.xa.SiblingMapper.createNewBranch(SiblingMapper.java:114)
    at com.atomikos.datasource.xa.SiblingMapper.findOrCreateBranch(SiblingMapper.java:106)
    at com.atomikos.datasource.xa.SiblingMapper.findOrCreateBranchWithResourceException(SiblingMapper.java:93)
    at com.atomikos.datasource.xa.SiblingMapper.findOrCreateBranchForTransaction(SiblingMapper.java:85)
    at com.atomikos.datasource.xa.XATransactionalResource.getResourceTransaction(XATransactionalResource.java:367)
    at com.atomikos.icatch.jta.TransactionImp.enlistResource(TransactionImp.java:307)
Jerome Arnal Send private email
Wednesday, April 29, 2015
 
 
I also have a warning when starting my test :
09:19:56,843  WARN com.atomikos.logging.Slf4jLogger.logWarning(12): atomikos connection proxy for oracle.jdbc.driver.LogicalConnection@1ede158: WARNING: transaction manager not running?
Jerome Arnal Send private email
Wednesday, April 29, 2015
 
 
with the 3.7.0 i don't have this warning :
09:19:56,843  WARN com.atomikos.logging.Slf4jLogger.logWarning(12): atomikos connection proxy for oracle.jdbc.driver.LogicalConnection@1ede158: WARNING: transaction manager not running?
Jerome Arnal Send private email
Wednesday, April 29, 2015
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics