Atomikos Forum

Error  XAER_DUPID: The XID identifies an existing transaction.

I configured an existing solution JSF 2, JPA with SPRING and Atomikos .... but this error is occurring

WARNING: XA resource 'jdbc/intranet': resume for XID '696E7472616E65743230303030343030303039:696E7472616E65743233' raised -8: the supplied XID already exists in this XA resource
javax.transaction.xa.XAException: XAER_DUPID: The XID identifies an existing transaction.
    at net.sourceforge.jtds.jdbc.XASupport.raiseXAException(XASupport.java:677)

When I run a process with only 1 insert the error does not appear .. when the process occurs within 1 or 2 or more insert the error happens.

I have several bean, calling other beans.insert () all with @ Transactional ...
It seems that Spring is not able to properly propagate internal transactions other beans ....

This solution was already running transactions using JpaTransactionManager ... but when I configured the JtaTransactionManager stopped working ...

Could someone help me?
Best Regards.
Fernando Franzini Send private email
Thursday, February 14, 2013
 
 
Make sure to shutdown cleanly (let all transactions terminate). Then change the tm name property in the jta.properties file.

In the future: avoid deleting the .epoch files so you don't get this error.

Make sure to test this in DEV first, before you do this in production.

HTH
Guy Pardon Send private email
Saturday, March 30, 2013
 
 

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

Other recent topics Other recent topics