Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.1, 2.1.0
-
Fix Version/s: 2.1.3
-
Labels:None
-
Environment:Oracle 10g2
-
Number of attachments :
Description
When an Oracle XA exception occurs, it looks like we are getting too few details on the error to fix it.
That's true it can be seen as an issue in Oracle JDBC (XA) Driver, but the fact is we get only this:
Caused by: bitronix.tm.internal.BitronixSystemException: cannot enlist an XAResourceHolderState with uniqueName=CBKDBMS XAResource=oracle.jdbc.driver.T4CXAResource@111089b with XID a Bitronix XID [737072696E672D62746D0000012C34CB08600000012B : 737072696E672D62746D0000012C34CB08600000012D], error=XAER_RMERR
[...]
... 118 more
Caused by: oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1045)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:249)
at bitronix.tm.internal.XAResourceHolderState.start(XAResourceHolderState.java:192)
at bitronix.tm.internal.XAResourceManager.enlist(XAResourceManager.java:89)
at bitronix.tm.BitronixTransaction.enlistResource(BitronixTransaction.java:74)
... 120 more
Applying the next patch I get:
The XA Error is :-3
The XA Error message is :A resource manager error has occured in the transaction branch.
The Oracle Error code is :24784
The Oracle SQL Error code is :0
OracleXAException cause: