The purge command executed from the command prompt throws, "java.lang.ClassNotFoundException" or "Cannot load class com.ibm.jsse.JSSEProvider".

The purge command executed from the command prompt throws, "java.lang.ClassNotFoundException" or "Cannot load class com.ibm.jsse.JSSEProvider".

book

Article ID: KB0092968

calendar_today

Updated On:

Products Versions
TIBCO MDM -
Not Applicable -

Description

Resolution:

Multiple issues are reported while running the Purge Command.


Issue: Purge command is not running from the command prompt giving the environment variable issue.


Exception : Caused by: java.lang.ClassNotFoundException: javax.ejb.EJBException

Resolution : WAS_Home environment variable should be set (Example : C:\IBM\WebSphere\AppServer).

Exception : Code: JAV-8002: Cannot load class com.ibm.jsse.JSSEProvider. Verify installationand class path. 

Associated exception message: java.lang.ClassNotFoundException:com.ibm.jsse.JSSEProvider.

Resolution :Modify JAVA_HOME from Oracle Java to IBM JAVA in environment variables. (Example : C:\IBM\WebSphere\AppServer\java).

Exception : Exception in thread "main" java.lang.NoClassDefFoundError: com.tibco.tibjms.TibjmsQueueConnectionFactory.

Resolution :Copy tibjms.jar to MQ_HOME/lib/external.

Issue/Introduction

The purge command executed from the command prompt throws, "java.lang.ClassNotFoundException" or "Cannot load class com.ibm.jsse.JSSEProvider".