OUD11g - Unable to Start OUD Server - java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: com.ibm.security.tools.keytool.CertAndKeyGen

(Doc ID 2185347.1)

Last updated on NOVEMBER 06, 2016

Applies to:

Oracle Unified Directory - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

After running oud-proxy-setup, the following error message appears when starting the OUD 11.1.2.3 server:

[02/Sep/2016:18:22:46 -0400] category=CORE severity=INFORMATION msgID=132 msg=The Directory Server is beginning the configuration bootstrapping process
[02/Sep/2016:18:22:49 -0400] category=CORE severity=NOTICE msgID=458886 msg=Oracle Unified Directory 11.1.2.3.0 (build 20150414142803Z, R1504140602) starting up
[02/Sep/2016:18:22:54 -0400] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381717 msg=Installation Directory: /vol/MTLCLU01HC0AA/oracle/Oracle_OUD1
[02/Sep/2016:18:22:54 -0400] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381719 msg=Instance Directory: /vol/MTLCLU01HC0AA/oracle/asinst_1/OUD
[02/Sep/2016:18:22:54 -0400] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381713 msg=JVM Information: pap6480sr3fp10-20160720_02 (SR3 FP10) by IBM Corporation, 64-bit architecture, 536870912 bytes heap size
[02/Sep/2016:18:22:54 -0400] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381714 msg=JVM Host: ibmorad1.ca.aero.bombardier.net, running AIX 7.1 ppc64, 32212254720 bytes physical memory size, number of processors available 4
[02/Sep/2016:18:22:54 -0400] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381715 msg=JVM Arguments: "-Xoptionsfile=/usr/java8_64/jre/lib/ppc64/compressedrefs/options.default", "-Xlockword:mode=default,noLockword=java/lang/String,noLockword=java/util/MapEntry,noLockword=java/util/HashMap$Entry,noLockword=org/apache/harmony/luni/util/ModifiedMap$Entry,noLockword=java/util/Hashtable$Entry,noLockword=java/lang/invoke/MethodType,noLockword=java/lang/invoke/MethodHandle,noLockword=java/lang/invoke/CollectHandle,noLockword=java/lang/invoke/ConstructorHandle,noLockword=java/lang/invoke/ConvertHandle,noLockword=java/lang/invoke/ArgumentConversionHandle,noLockword=java/lang/invoke/AsTypeHandle,noLockword=java/lang/invoke/ExplicitCastHandle,noLockword=java/lang/invoke/FilterReturnHandle,noLockword=java/lang/invoke/DirectHandle,noLockword=java/lang/invoke/ReceiverBoundHandle,noLockword=java/lang/invoke/DynamicInvokerHandle,noLockword=java/lang/invoke/FieldHandle,noLockword=java/lang/invoke/FieldGetterHandle,noLockword=java/lang/invoke/FieldSetterHandle,noLockword=java/lang/invoke/StaticFieldGetterHandle,noLockword=java/lang/invoke/StaticFieldSetterHandle,noLockword=java/lang/invoke/IndirectHandle,noLockword=java/lang/invoke/InterfaceHandle,noLockword=java/lang/invoke/VirtualHandle,noLockword=java/lang/invoke/InvokeExactHandle,noLockword=java/lang/invoke/InvokeGenericHandle,noLockword=java/lang/invoke/VarargsCollectorHandle,noLockword=java/lang/invoke/ThunkTuple", "-Xjcl:jclse7b_28", "-Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java8_64/jre/lib/ppc64/compressedrefs:/usr/java8_64/jre/lib/ppc64", "-Dsun.boot.library.path=/usr/java8_64/jre/lib/ppc64/compressedrefs:/usr/java8_64/jre/lib/ppc64", "-Djava.library.path=/usr/java8_64/jre/lib/ppc64/compressedrefs:/usr/java8_64/jre/lib/ppc64:/usr/java8_64/jre/lib/ppc64/j9vm:/usr/java8_64/jre/lib/ppc64:/usr/java8_64/jre/../lib/ppc64:/usr/lib::/usr/lib", "-Djava.home=/usr/java8_64/jre", "-Djava.ext.dirs=/usr/java8_64/jre/lib/ext", "-Duser.dir=/vol/MTLCLU01HC0AA/oracle/asinst_1/OUD/bin", "-Djava.runtime.version=pap6480sr3fp10-20160720_02 (SR3 FP10)", "-Djava.class.path=/vol/MTLCLU01HC0AA/oracle/asinst_1/OUD/classes:/vol/MTLCLU01HC0AA/oracle/Oracle_OUD1/winlib/classpath.jar:/vol/MTLCLU01HC0AA/oracle/asinst_1/OUD/lib/*.jar", "-server", "-Dorg.opends.server.scriptName=start-ds", "-Dsun.java.command=org.opends.server.core.DirectoryServer --configClass org.opends.server.extensions.ConfigFileHandler --configFile /vol/MTLCLU01HC0AA/oracle/asinst_1/OUD/config/config.ldif --timeout 0", "-Dsun.java.launcher=SUN_STANDARD"
Exception in thread "main" java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: com.ibm.security.tools.keytool.CertAndKeyGen
at org.opends.server.util.Platform$PlatformIMPL.(Platform.java:164)
at org.opends.server.util.Platform.(Platform.java:97)
at org.opends.server.util.CertificateManager.generateSelfSignedCertificate(CertificateManager.java:345)
at org.opends.server.admin.AdministrationConnector.createSelfSignedCertifIfNeeded(AdministrationConnector.java:738)
at org.opends.server.admin.AdministrationConnector.initializeAdministrationConnector(AdministrationConnector.java:182)
at org.opends.server.core.ConnectionHandlerConfigManager.initializeAdministrationConnectorConfig(ConnectionHandlerConfigManager.java:356)
at org.opends.server.core.DirectoryServer.initializeAdministrationConnector(DirectoryServer.java:2932)
at org.opends.server.core.DirectoryServer.startServer(DirectoryServer.java:1584)

.../...

Cause

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