Unexpected Exit Code for java.lang.Process WaitFor() after a JDBC/OCI Bequeath Connection
(Doc ID 1513042.1)
Last updated on FEBRUARY 27, 2019
Applies to:JDBC - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
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:@")
The issue is triggered by switching to the Oracle Client 126.96.36.199.
Does not reproduce with 10.2.0.5 and 188.8.131.52
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