ForgeRock Identity Platform
Does not apply to Identity Cloud

Java Agents 5.x and AM 6.x fail to install on IBM WebSphere when SSL is enabled

Last updated Mar 29, 2023

The purpose of this article is to provide assistance if Java Agents and AM fail with "java.lang.ClassNotFoundException: Cannot find the specified class", when installing on IBM® WebSphere® with SSL is enabled. Additionally, this issue only occurs when using an IBM JVM.

1 reader recommends this article


The following error is shown in the Agent or AM install log after the failed install attempt:

09/23/2016 19:10:05:930 EDT] ValidateURL.isServerUrlValid threw exception : java.lang.ClassNotFoundException: Cannot find the specified class   at    at    at    at    at    at    at$000(    at$    at Caused by: java.lang.ClassNotFoundException: Cannot find the specified class

Recent Changes



The IBM JVM does not contain any SSL implementation classes, which means is not found during the install process.

This is a known issue with WebSphere when SSL is enabled: Cannot find the specified class


This issue can be resolved by either using the OpenJDK or Oracle® JVM instead of the IBM JVM or by making changes to the file (located in the /path/to/websphere/java*/jre/lib/security directory).

To change the file, you need to uncomment the two default JSSE socket factories and comment out the two WebSphere specific ones, so that it looks like this:

# Default JSSE socket factories  # WebSphere socket factories (in cryptosf.jar)

See Also

Preparing IBM WebSphere

Install WebSphere Java Agent

Related Training


Related Issue Tracker IDs


Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.