MySQL Forums
Forum List  »  Connector/JDBC and Java

Re: MysqlXAException: Could not retrieve transation read-only status server
Posted by: Filipe Silva
Date: November 10, 2017 06:38PM

Hi Arpan,

There could be a whole bunch of reasons. I'd say that most probably you have some configuration detail that is causing it.
Mind that I don't know anything about the systems you are using and how to configure them but it seems that adding a configuration such as <property name="testQuery" value="SELECT 1"/> in the data source settings helps in some cases.

IHTH

Options: ReplyQuote


Subject
Written By
Posted
Re: MysqlXAException: Could not retrieve transation read-only status server
November 10, 2017 06:38PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.