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