How to load the Bouncy Castle security app into an 220.127.116.11 database
(Doc ID 1498899.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.2]
Information in this document applies to any platform.
The Bouncy Castle app is dependent on 3 security interfaces from JDK 1.5 rt.jar that are missing from the Oracle 126.96.36.199 JVM and attempting to load will receive an error such as:
ORA-29552: verification warning: java.lang.NoClassDefFoundError: java/security/interfaces/ECPrivateKey
This is known bug 14572113 which is resolved in Oracle 12c and since included in the 188.8.131.52 patchset. Typically this would mean that you would not be able to load the app into 184.108.40.206 since you can not modify the Oracle JServer / Oracle JVM that is built into the database and JVM bugs are not "backportable". However, the JVM team has provided a workaround in bug:14572113 and this note is provided to document the steps needed to load these missing classes into an 220.127.116.11 Oracle Database which has a JDK 1.5 based JVM.
Note: These classes are installed in the next release of Oracle RDBMS Server so this workaround is only applicable to 18.104.22.168. Also, this workaround is only known to allow Bouncy Castle to be loaded and may not work for other applications. Additionally, it was only tested on Linux and Solaris. Support has confirmed that the rt.jar file has been broken out into separate jar files on IBM AIX so these classes are in security.jar file on IBM platforms. Also, although we expect this to work, we do not support it. If you encounter issues, we suggest you work through them in the forums rather than a Service Request with Oracle Support.
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