正在执行分布式更新,我收到此 ORA-24756 错误:
DISTRIB TRAN bea1.67AA54355C4A74ECDEE0
is local tran 6.42.332492 (hex=06.2a.512cc)
insert pending prepared tran, scn=8151148567799 (hex=769.d6509cf7)
Wed Jan 30 16:45:02 EAT 2015
Errors in file /oradata/sfapdb/bdump/sfapdb_reco_2739.trc:
ORA-24756: transaction does not exist
oracle.jdbc.xa.OracleXAExceptionSQLException: ORA-24756: transaction does not exist.
此错误来自失败的两阶段提交,我还发现 SYS.PENDING_TRANS$/SYS.PENDING_SESSION$/dba_2pc_pending 中有一些记录 (trans_id = "6.42.332492") 处于“准备”状态。此事务是通过 JDBC 从 Weblogic Server 启动的。\ 如何解决此 ORA-24756 错误?