Unexpected Exit Code for java.lang.Process WaitFor() after a JDBC/OCI Bequeath Connection
(Doc ID 1513042.1)
Last updated on AUGUST 09, 2023
Applies to:
JDBC - Version 11.2.0.1.0 and laterInformation in this document applies to any platform.
Symptoms
JDBC/OCI standalone test case shows that once a JDBC bequeath connection is established, the exit value on a call to Process.waitFor() goes from 1 to 0 .
According to the JDK javadoc for java.util.Process, by convention, 0 indicates normal termination.
This issue is specific to JDBC/OCI and in particular is specific to bequeath connections su as DriverManager.getConnection("jdbc:oracle:oci:@")
example:
Changes
The issue is triggered by switching to the Oracle Client 11.2.0.3.
Does not reproduce with 10.2.0.5 and 11.1.0.7
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |