Hello rununrath,
From the description is it hard to determine if all three exceptions you listed above were all part of the same exception stack.
Assuming that they are, then the root issue is the "Socket read timed out" being thrown by the Oracle JDBC driver.
This exception is thrown when the Oracle JDBC driver submits a Query/Update to the database, and the database does not reply.
The amount of time the Oracle JDBC driver waits before throwing this exception is determined by the
oracle.jdbc.ReadTimeout property which has a default timeout of 10 minutes (600000ms).
Why the database never responded could be one of a few issues:
1. The database was brought down before it had a chance to respond.
2. The Update took longer than the timeout to execute.
3. The Table/Row has been locked, and that lock was never released.
Or it could be something else entirely.
I would check with your DBA to see if there were any warnings or errors on your database at the time this happened.
Thank you,
Kyle Jon Aure
------------------------------
Kyle Aure
------------------------------
Original Message:
Sent: Tue March 08, 2022 06:28 AM
From: rununrath jarornsukkhaphap
Subject: Problem with datasource
Hi,
I have questions when I use WAS ND 8.5.5.20 and create a data source to Oracle Database 19c EE with JDBC driver 12.1.0.2.0.
I found error as following. Please help to guide me how to fix this problem.
- Exception:org.jbpm.workflow.instance.WorkflowRuntimeException SourceId:com.ibm.ejs.container.LocalExceptionMappingStrategy.setUncheckedException ProbeId:178 Reporter:com.ibm.ejs.container.LocalExceptionMappingStrategy@XXXXX
org.jbpm.workflow.instance.WorkflowRuntimeException: -- ; nested exception is: org.hibernate.exception.JDBCConnectionException: could not execute batchCaused by: javax.ejb.TransactionRolledbackLocalException: ; nested exception is: org.hibernate.exception.JDBCConnectionException: could not execute batch
Caused by: org.hibernate.exception.JDBCConnectionException: could not execute batch
Caused by: java.sql.BatchUpdateException: IO Error: Socket read timed out
- Exception:oracle.jdbc.xa.OracleXAException SourceId:com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start ProbeId:639 Reporter:com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl@XXXX
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1229)
Caused by: java.sql.SQLRecoverableException: IO Error: Socket read timed out
Caused by: oracle.net.ns.NetException: Socket read timed out - Event ID: CONNECTION ERROR OCCURRED (5)
Exception: java.sql.SQLRecoverableException: IO Error: Socket read timed out DSRA0010E: SQL State = 08006, Error Code = 17,002
XAException error code is :XAER_RMFAIL (-7)
Thank you
------------------------------
rununrath jarornsukkhaphap
------------------------------