Multithreaded Application Using OraclePKI.jar Intermittently Fails With PKI-02002
Last updated on MARCH 08, 2017
Applies to:JDBC - Version 22.214.171.124 to 126.96.36.199.0 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 26-Jun-2013***
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 .
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