当前位置: 代码迷 >> 综合 >> 解决atomikos在oracle应用中的XA事务异常--javax.transaction.xa.XAException: null
  详细解决方案

解决atomikos在oracle应用中的XA事务异常--javax.transaction.xa.XAException: null

热度:93   发布时间:2023-11-03 07:44:42.0

异常

javax.transaction.xa.XAException: null

解决方法之一:

使用 dba账号 通过以下命令给数据源的用户授予XA权限

grant select on sys.dba_pending_transactions to USER_NAME;
grant select on sys.pending_trans$ to USER_NAME;
grant select on sys.dba_2pc_pending to USER_NAME;
grant execute on sys.dbms_system to USER_NAME

  相关解决方案