Atomikos Forum

java.lang.RuntimeException: Already writing a new version

Hello community!
I'm using 3.8.0 jta, spring 3.1.1, Tomcat 7.
I have found an error but can't find solutions.
It seems, that some thread can't close resource that was writing in .epoch file. Why it happens?
An exception:
java.lang.RuntimeException: Already writing a new version.
    at com.atomikos.util.UniqueIdMgr.get(UniqueIdMgr.java:234) ~[atomikos-util-3.8.0.jar:na]
    at com.atomikos.icatch.imp.TransactionServiceImp.createCompositeTransaction(TransactionServiceImp.java:1004) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.imp.BaseTransactionManager.createCompositeTransaction(BaseTransactionManager.java:439) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.jta.TransactionManagerImp.begin(TransactionManagerImp.java:326) ~[transactions-jta-3.8.0.jar:na]
    at com.atomikos.icatch.jta.TransactionManagerImp.begin(TransactionManagerImp.java:303) ~[transactions-jta-3.8.0.jar:na]
    at com.atomikos.icatch.jta.UserTransactionImp.begin(UserTransactionImp.java:116) ~[transactions-jta-3.8.0.jar:na]
    at org.springframework.transaction.jta.JtaTransactionManager.doJtaBegin(JtaTransactionManager.java:864) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:821) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:335) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:105) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) ~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
Sergey Send private email
Friday, January 30, 2015
 
 
Hi,

This was a bug, fixed in our latest commercial release: http://www.atomikos.com/Main/ExtremeTransactions3dot9dot14

Best,
Guy
Guy Pardon Send private email
Friday, January 30, 2015
 
 
Thanks a lot. But how i can avoid it in 3.8.0 version?
This application works well about 1,5 years in production. But this case I have seen for the first time.
Can I delete *.epoch file and restart application?.
But I'm not sure that this case won't happen.
Sergey Send private email
Friday, January 30, 2015
 
 

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

Other recent topics Other recent topics