使用分布式事务时无法调用提交

Cannot call commit when using distributed transactions

尝试使用带有 WebLogic 的 DBAdapter 从 Oracle SQL 调用存储过程时发生此错误。

一些论坛提议将数据源从 XA 更改为 NonXA,并取消选中复选框 "Supports Global Transactions"。我这样做并得到了其他错误 "Cannot call Connection.commit in distributed transaction"。我已经重新启动了 WebLogic 服务器,仅此而已。问题解决了。仅供参考:)