HPE EVA Storage
1849824 Members
2025 Online
104044 Solutions
New Discussion

Re: Java error when running CLUI

 
Neil W. Garside
Occasional Contributor

Java error when running CLUI

Hello,

I have a Windows 2000 server with the RSM host agent v1.1 installed. I've applied the CLUI client patch v1.2.1 and have installed the Sun J2SE Runtime Environment 5.0 Update 5 on the server. The server has been rebooted since the installation of the JVM.

However, if I try and perform any action with the CLUI I get the following Java error:

>clui -u admin -p -h IKANOSAN "show ha"
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider
at com.hp.nss.cluiframework.client.CluiClient.login(CluiClient.java:230)
at com.hp.nss.cluiframework.client.CluiClient.main(CluiClient.java:735)

Can anyone assist?

Kind regards,

Neil W. Garside
2 REPLIES 2
Sameer_Nirmal
Honored Contributor

Re: Java error when running CLUI

Hi,

As indicated in the error message , the class file ( class defination ) for Provider is not found.
I guess you need to set the
CLASSPATH java environment variable.
eg.
SETVAR CLASSPATH
'.:/usr/local/java/latest/lib'


Neil W. Garside
Occasional Contributor

Re: Java error when running CLUI

Thanks for the reply. It turned out to be a problem with the version of Java on the server. Although I had installed Java 1.5, an older version of Java (1.3) was on the server's PATH variable. As soon as I added the Java 1.5 installation directory to the front of the PATH variable the problem was resolved.