添加jta在oracle下设置授权的提示信息
This commit is contained in:
@@ -47,6 +47,11 @@ jdbc:
|
|||||||
# JTA 分布式事务(v4.0.4+)
|
# JTA 分布式事务(v4.0.4+)
|
||||||
jta:
|
jta:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
|
||||||
|
# grant select on sys.dba_pending_transactions to jeesite;
|
||||||
|
# grant select on sys.pending_trans$ to jeesite;
|
||||||
|
# grant select on sys.dba_2pc_pending to jeesite;
|
||||||
|
# grant execute on sys.dbms_system to jeesite;
|
||||||
|
|
||||||
# 事务超时时间,单位秒(30分钟)(v4.1.5+)
|
# 事务超时时间,单位秒(30分钟)(v4.1.5+)
|
||||||
transactionTimeout: 1800
|
transactionTimeout: 1800
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ com.atomikos.icatch.max_actives=-1
|
|||||||
com.atomikos.icatch.enable_logging=false
|
com.atomikos.icatch.enable_logging=false
|
||||||
com.atomikos.icatch.registered=true
|
com.atomikos.icatch.registered=true
|
||||||
|
|
||||||
# 提示 oracle.jdbc.xa.OracleXAResource.recover 错误需要授权:
|
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
|
||||||
#grant select on sys.dba_pending_transactions to jeesite;
|
# grant select on sys.dba_pending_transactions to jeesite;
|
||||||
#grant select on sys.pending_trans$ to jeesite;
|
# grant select on sys.pending_trans$ to jeesite;
|
||||||
#grant select on sys.dba_2pc_pending to jeesite;
|
# grant select on sys.dba_2pc_pending to jeesite;
|
||||||
#grant execute on sys.dbms_system to jeesite;
|
# grant execute on sys.dbms_system to jeesite;
|
||||||
@@ -124,6 +124,11 @@ jdbc:
|
|||||||
# # JTA 分布式事务(v4.0.4+)
|
# # JTA 分布式事务(v4.0.4+)
|
||||||
# jta:
|
# jta:
|
||||||
# enabled: false
|
# enabled: false
|
||||||
|
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
|
||||||
|
# grant select on sys.dba_pending_transactions to jeesite;
|
||||||
|
# grant select on sys.pending_trans$ to jeesite;
|
||||||
|
# grant select on sys.dba_2pc_pending to jeesite;
|
||||||
|
# grant execute on sys.dbms_system to jeesite;
|
||||||
|
|
||||||
# # 事务超时时间,单位秒(30分钟)(v4.1.5+)
|
# # 事务超时时间,单位秒(30分钟)(v4.1.5+)
|
||||||
# transactionTimeout: 1800
|
# transactionTimeout: 1800
|
||||||
|
|||||||
Reference in New Issue
Block a user