Atomikos Forum

Error in committing: could not flush state image Not Initialized

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.

org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Error in committing: could not flush state image Not Initialized or already closed com.atomikos.persistence.LogException - rolling back instead
    at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1013) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) ~[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]
    ...............
    ...............
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_40]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_40]
    at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_40]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_40]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_40]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_40]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_40]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_40]
    at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40]
Caused by: javax.transaction.RollbackException: Error in committing: could not flush state image Not Initialized or already closed com.atomikos.persistence.LogException - rolling back instead
    at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:68) ~[transactions-jta-3.8.0.jar:na]
    at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:222) ~[transactions-jta-3.8.0.jar:na]
    at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:501) ~[transactions-jta-3.8.0.jar:na]
    at com.atomikos.icatch.jta.J2eeUserTransaction.commit(J2eeUserTransaction.java:104) ~[transactions-jta-3.8.0.jar:na]
    at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1010) ~[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
    ... 22 common frames omitted
Caused by: com.atomikos.icatch.RollbackException: Error in committing: could not flush state image Not Initialized or already closed com.atomikos.persistence.LogException - rolling back instead
    at com.atomikos.icatch.imp.CoordinatorStateHandler.commit(CoordinatorStateHandler.java:551) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.imp.ActiveStateHandler.commit(ActiveStateHandler.java:253) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.imp.CoordinatorImp.commit(CoordinatorImp.java:715) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:970) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) ~[transactions-3.8.0.jar:na]
    at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:208) ~[transactions-jta-3.8.0.jar:na]
    ... 25 common frames omitted

and more one:
org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Error in committing: could not flush state image No space left on device com.atomikos.persistence.LogException - rolling back instead
Sergey Send private email
Thursday, February 12, 2015
 
 
The startup ordering of your system components is wrong it seems, or some race condition while shutting down.

Hard to say without more context.

Best
Guy Pardon Send private email
Sunday, March 22, 2015
 
 
The startup ordering of your system is correct.

I have found error. In this case, error was caused by ending disk space on device. Transaction manager couldn't write any information.

Thanks.
Sergey Send private email
Wednesday, March 25, 2015
 
 
Thanks for the update!

Cheers
Guy Pardon Send private email
Wednesday, March 25, 2015
 
 

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

Other recent topics Other recent topics