Oracle Wallet 19.23 Issue On Tomcat/OpenJDK 11.0.23. Wallet open fails with "Encountered a problem with the Secret Store. Check the wallet location for the presence of an open wallet '
(Doc ID 3035007.1)
Last updated on NOVEMBER 22, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.23.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Experiencing an issue on using the Oracle wallet created on latest RDBMS release
Oracle RDBMS release: 19.23.0.0.240416
OS: RHEL8: 4.18.0-513.11.1.el8_9.x86_64
After creating a new wallet on the Oracle server by mkstore utility, tried to implement it in a Tomcat instance datasource.The Tomcat instance is running in a RH8 server by an OpenJDK, version:
openjdk version "11.0.23" 2024-04-16 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.23.0.9-2) (build 11.0.23+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.23.0.9-2) (build 11.0.23+9-LTS, mixed mode, sharing)
On tomcat server no client is installed just ojdbc8 driver.
After having deployed the new wallet on the instance, the tomcat application logfile reports the following trace:
Application log:
################
27-May-2024 16:43:25.974 WARNING [main] org.apache.catalina.core.NamingContextListener.addResource Failed to register in JMX: [javax.naming.NamingException: Unexpected exception resolving reference [Root exception is 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: oracle.security.crypto.core.CipherException: oracle.security.crypto.core.InvalidKeyException: oracle.security.crypto.core.AlgorithmIdentifierException: No class found for OBJECT IDENTIFIER {1 2 840 113549 2 9}]]
27-May-2024 16:43:30.919 SEVERE [main] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool.
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: oracle.security.crypto.core.CipherException: oracle.security.crypto.core.InvalidKeyException: oracle.security.crypto.core.AlgorithmIdentifierException: No class found for OBJECT IDENTIFIER {1 2 840 113549 2 9}
Changes
NA
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 |