Atomikos Forum |
|
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) |