ResourceException: XA resource 'jdbc/wmsDatasource': resume for XID '..' raised -4: the supplied XID is invalid for this XA resource

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 04:57:42

问题


I am getting exception "the supplied XID is invalid for this XA resource" for one of my project to get records from DB ORACLE.

I found some solutions for "raised 3 and 5" but could not get for "raised -4".

Here I have attached log file for issue.

com.atomikos.datasource.ResourceException: XA resource 'jdbc/abcDatasource': resume for XID '31302E38382E3232382E3131352E746D32343536363030353837:31302E38382E3232382E3131352E746D31303437393130' raised -4: the supplied XID is invalid for this XA resource
    at com.atomikos.datasource.xa.XAResourceTransaction.resume(XAResourceTransaction.java:434) ~[transactions-jta-3.9.3.jar:na]
    at com.atomikos.datasource.xa.session.BranchEnlistedStateHandler.<init>(BranchEnlistedStateHandler.java:59) ~[transactions-jta-3.9.3.jar:na]
    at com.atomikos.datasource.xa.session.NotInBranchStateHandler.checkEnlistBeforeUse(NotInBranchStateHandler.java:64) ~[transactions-jta-3.9.3.jar:na]
    at com.atomikos.datasource.xa.session.TransactionContext.checkEnlistBeforeUse(TransactionContext.java:88) ~[transactions-jta-3.9.3.jar:na]
    at com.atomikos.datasource.xa.session.SessionHandleState.notifyBeforeUse(SessionHandleState.java:179) ~[transactions-jta-3.9.3.jar:na] <br/>

Configuration Text

Let me know if any further information needed.

来源:https://stackoverflow.com/questions/46048251/resourceexception-xa-resource-jdbc-wmsdatasource-resume-for-xid-raised

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!