Atomikos Forum |
|
After migrate the java db connector from mysql 5.1.18 to mariadb 1.1.7 we are experimenting again the TMJOIN known error.
With Mysql we used the configuration suggested by this link: http://www.atomikos.com/Documentation/KnownProblems#MySQL_does_not_support_TMJOIN MariaDB connector does not recognise the parameter pinGlobalTxToPhysicalConnection and the application shows the following exception: Nov 17, 2014 10:05:47 AM com.atomikos.logging.Slf4jLogger logInfo INFO: XAResource.start ( 61646D696E41746F6D696B6F73544D30303030313030313839:61646D696E41746F6D696B6F73544D31 , XAResource.TMJOIN ) on resource domainXADataSource represented by XAResource instance org.mariadb.jdbc.MySQLXAResource@88ee298 Nov 17, 2014 10:05:47 AM com.atomikos.logging.Slf4jLogger logWarning WARNING: XA resource 'domainXADataSource': resume for XID '61646D696E41746F6D696B6F73544D30303030313030313839:61646D696E41746F6D696B6F73544D31' raised -5: invalid arguments were given for the XA operation javax.transaction.xa.XAException at org.mariadb.jdbc.MySQLXAResource.mapXAException(MySQLXAResource.java:41) at org.mariadb.jdbc.MySQLXAResource.execute(MySQLXAResource.java:51) at org.mariadb.jdbc.MySQLXAResource.start(MySQLXAResource.java:148) at com.atomikos.datasource.xa.XAResourceTransaction.resume(XAResourceTransaction.java:427) at com.atomikos.datasource.xa.session.BranchEnlistedStateHandler.<init>(BranchEnlistedStateHandler.java:59) at com.atomikos.datasource.xa.session.NotInBranchStateHandler.checkEnlistBeforeUse(NotInBranchStateHandler.java:64) at com.atomikos.datasource.xa.session.TransactionContext.checkEnlistBeforeUse(TransactionContext.java:88) at com.atomikos.datasource.xa.session.SessionHandleState.notifyBeforeUse(SessionHandleState.java:179) at com.atomikos.jdbc.AtomikosConnectionProxy.enlist(AtomikosConnectionProxy.java:223) at com.atomikos.jdbc.AtomikosConnectionProxy.invoke(AtomikosConnectionProxy.java:142) .... .... .... What could we do? Regards |