XAConnection Exception in ATG Weblogic

XAConnection java.sql.SQLException

Logs:

/atg/dynamo/messaging/SqlJmsProvider    ---     java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XXX_DS': XAER_NOTA : The XID is not valid.

Fix:

Tweak the configuration file of weblogic server
and add an entry after the datasource params.

jdbc-xa-params>
<xa-set-transaction-timeout>true</xa-set-transaction-timeout>
</jdbc-xa-params>

Make sure you are taking backup of the original configuration file,chances are there while doing modification you may
accidently corrupt the orignial file.After doing the
necesary changes bounce the Server once,to verify the issue.

Still if you are encountering the issue you have to increase the jta values.refer the section to do so

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...