diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 7045cd16..55f99519 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -47,6 +47,11 @@ jdbc: # JTA 分布式事务(v4.0.4+) jta: 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+) transactionTimeout: 1800 diff --git a/modules/core/src/main/resources/jta.properties b/modules/core/src/main/resources/jta.properties index e5a3d706..e9ba07d0 100644 --- a/modules/core/src/main/resources/jta.properties +++ b/modules/core/src/main/resources/jta.properties @@ -5,8 +5,8 @@ com.atomikos.icatch.max_actives=-1 com.atomikos.icatch.enable_logging=false com.atomikos.icatch.registered=true -# 提示 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; \ No newline at end of file +# 注意:如果报 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; \ No newline at end of file diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index 8ad859cb..e72a8ff9 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -124,6 +124,11 @@ jdbc: # # JTA 分布式事务(v4.0.4+) # jta: # 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+) # transactionTimeout: 1800