Multithreaded Application Using OraclePKI.jar Intermittently Fails With PKI-02002
(Doc ID 1356263.1)
Last updated on FEBRUARY 28, 2023
Applies to:JDBC - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 11.2]
Information in this document applies to any platform.
In a multithreaded application using the 11.2.0.x JDBC Thin driver with version 11.2.0.x of OraclePKI.jar, the ability to open a wallet file intermittently fails with the error:
java.sql.SQLException: encountered a problem with the Secret Store. Check the wallet location for the presence of an open wallet (cwallet.sso) and ensure that this wallet contains the correct credentials using the mkstore utility: java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
When the various threads in the application are subject to a sleep() call, the frequency with which the problem occurs decreases in relation to the length of time of the sleep call (the longer the threads sleep, the less frequently the error occurs).
The problem did not reproduce when using 10.x versions of OraclePKI.jar .
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