OUD - When Attempting to Start OUD Error in server.out - "java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen"
(Doc ID 2575905.1)
Last updated on MAY 04, 2023
Applies to:
Oracle Unified Directory - Version 11.1.2.3.0 and laterInformation in this document applies to any platform.
Symptoms
On : 11.1.2.3.0 version
Error in server.out when attempting to start OUD -
$ ./start-ds
...
category=RUNTIME_INFORMATION severity=NOTICE msgID=20381715 msg=JVM Arguments: "-Dorg.opends.server.scriptName=start-ds"
Exception in thread "main" java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen
at org.opends.server.util.Platform$PlatformIMPL.<clinit>(Platform.java:164)
at org.opends.server.util.Platform.<clinit>(Platform.java:97)
at org.opends.server.protocols.ldap.LDAPConnectionHandler.initializeConnectionHandler(LDAPConnectionHandler.java:657)
at org.opends.server.admin.AdministrationConnector.initializeAdministrationConnector(AdministrationConnector.java:189)
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)
at org.opends.server.core.DirectoryServer.main(DirectoryServer.java:10108)
...
category=RUNTIME_INFORMATION severity=NOTICE msgID=20381715 msg=JVM Arguments: "-Dorg.opends.server.scriptName=start-ds"
Exception in thread "main" java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen
at org.opends.server.util.Platform$PlatformIMPL.<clinit>(Platform.java:164)
at org.opends.server.util.Platform.<clinit>(Platform.java:97)
at org.opends.server.protocols.ldap.LDAPConnectionHandler.initializeConnectionHandler(LDAPConnectionHandler.java:657)
at org.opends.server.admin.AdministrationConnector.initializeAdministrationConnector(AdministrationConnector.java:189)
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)
at org.opends.server.core.DirectoryServer.main(DirectoryServer.java:10108)
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 |
Cause |
Solution |
References |