记录一个报错解决
报错信息
<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'DemoAdapter' failed due to: DBReadInteractionSpec Execute Failed Exception.
Query name: [DemoAdapter], Descriptor name: [Adapter.demo].
Caused by java.sql.SQLException: Cannot obtain XAConnection.
See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
</summary></part><part name="code"><code>0</code></part><part name="detail"><detail>Cannot obtain XAConnection</detail></part></remoteFault></bpelFault>
Caused by java.sql.SQLException: Cannot obtain XAConnection.
分析:数据库连接数不够用。
解决办法:进入weblogic控制台中–>数据源—>选择对应数据源–>连接池—>最大容量 将最大容量调大一点