'Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider' error when running modifyhostname.sh on RSA Identity Governance & Lifecycle 7.1.1
Originally Published: 2019-12-26
Article Number
Applies To
RSA Version/Condition: 7.1.1
Issue
vm-01:~ # sudo modifyhostname.sh mynewmachine.virtualapps.com Hostname : mynewmachine.virtualapps.com user Name : avuser Sys user : sys Checking Oracle configuration... ASM_SPFILE=+DG01/ASM/ASMPARAMETERFILE/registry.253.1023096691 AVDB_SPFILE=+DG01/AVDB/PARAMETERFILE/spfile.269.1023097859 Update hostname in server nodes table... SQL*Plus: Release 12.1.0.2.0 Production on Wed Nov 13 04:01:36 2019 Copyright (c) 1982, 2014, Oracle. All rights reserved. Last Successful login time: Wed Nov 13 2019 02:51:44 -05:00 Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options SQL> 1 row updated. SQL> 1 row updated. SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options Recreate SSL Certificates Creating Aveksa CA for CN - mynewmachine.virtualapps.com Args: createca mynewmachine.virtualapps.com y Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 7 more Failed to create Aveksa CA! with error code: 1
Cause
Resolution
Workaround
- Copy the attached bouncycastle-jce-jdk13-112.jar to /home/oracle/database/lib.
- Change the user and group ownership of the file by running the command
chown oracle:oinstall bouncycastle-jce-jdk13-112.jar
- Change directory to /home/oracle/deploy/bin
cd /home/oracle/deploy/bin
- Run modifyhostname.sh. It should successfully run without the above-mentioned error:
modifyhostname.sh <new hostname>
Attachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).
Related Articles
Exception in thread 'main' java.lang.UnsatisfiedLinkError: no NTEventLogAppender in java.library.path 37Number of Views Unification slow and identity collections show users in reprocessed state in RSA Identity Governance & Lifecycle 68Number of Views How to customize the application using customizeACM.sh in RSA Identity Governance & Lifecycle 346Number of Views After upgrade of the RSA Identity Governance and Lifecycle 7.0.1 IBM Tivoli Identity Manager (ITIM) agent to 7.0.1, the ag… 34Number of Views When starting the RSA Via Lifecycle and Governance Host Controller of a cluster: ERROR [org.jboss.msc.service.fail] (MSC … 165Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Release Notes for RSA Authentication Manager 8.8 Deploying RSA Authenticator 6.2.2 for Windows Using DISM Downloading RSA Authentication Manager license files or RSA Software token seed records
Don't see what you're looking for?