Unexpected Exit Code for java.lang.Process WaitFor() after a JDBC/OCI Bequeath Connection
Last updated on MARCH 08, 2017
Applies to:JDBC - Version 188.8.131.52 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 184.108.40.206.
Does not reproduce with 10.2.0.5 and 220.127.116.11
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms