Atomikos Forum

RuntimeException: Already writing a new version.

Hi All,

I am seeing below exception randomly. It would be a great help , if some one can explain , what does it actually mean , and what  should I do to fix this.

We using Hibernate and Spring.

Thanks in advance

nested exception is java.lang.RuntimeException: Already writing a new version.
        at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)
        at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.RuntimeException: Already writing a new version.
        at com.atomikos.util.UniqueIdMgr.get(UniqueIdMgr.java:204)
        at com.atomikos.icatch.imp.TransactionServiceImp.createCompositeTransaction(TransactionServiceImp.java:1029)
        at com.atomikos.icatch.imp.BaseTransactionManager.createCompositeTransaction(BaseTransactionManager.java:542)
        at com.atomikos.icatch.jta.TransactionManagerImp.begin(TransactionManagerImp.java:437)
        at com.atomikos.icatch.jta.TransactionManagerImp.begin(TransactionManagerImp.java:414)
        at com.atomikos.icatch.jta.UserTransactionImp.begin(UserTransactionImp.java:154)
        at org.springframework.transaction.jta.JtaTransactionManager.doJtaBegin(JtaTransactionManager.java:863)
        at org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:820)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:316)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:105)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy119.save(Unknown Source)
Gurpreet Singh Send private email
Thursday, December 23, 2010
 
 
What release are you using?
Guy Pardon Send private email
Friday, December 24, 2010
 
 
Atomikos Version : 3.6.5

Spring Version  : 3.0.3.RELEASE
Gurpreet Singh Send private email
Friday, December 24, 2010
 
 
Hi,

OK - please try with the latest release online now.

HTH
Guy Pardon Send private email
Tuesday, December 28, 2010
 
 

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

Other recent topics Other recent topics