The server returns the following XA exception:
To remedy the situation, do the following:
The above assumes that the user is the user defined to connect from WildFly to Oracle. It also assumes that either Oracle 10g R2 (patched for bug 5945463) or 11g is used. If an unpatched version, that is, a version older that 11g, is used, change the last GRANT EXECUTE to the following:
When using MySQL, you might get the following exception when connecting:
To remedy the situation, set the time zone in one of the following:
<xa-datasource-property name="URL">jdbc:mysql://localhost:3306/lsps? useUnicode=true& characterEncoding=utf-8 &useJDBCCompliantTimezoneShift=true &useLegacyDatetimeCode=false &serverTimezone=UTC </xa-datasource-property>