OpswareClient Java RMI

All,

I am trying to create Java Client and I am following the GetServerInfo.java. When I try to make a connection using the following command,

OpswareClient.connect("https", host, (short)port, userPasswd[0], userPasswd[1], true); I am getting the following error. 

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.opsware.client.OpswClientEndpoint.newRemoteEJBHome(OpswClientEndpoint.java:1234)
at com.opsware.client.OpswClientEndpoint.getEJBHome(OpswClientEndpoint.java:1184)
at com.opsware.client.OpswClientEndpoint.getEJBHome(OpswClientEndpoint.java:1173)
at com.opsware.client.OpswClientEndpoint.getService(OpswClientEndpoint.java:1125)
at com.opsware.client.OpswClientEndpoint.getService(OpswClientEndpoint.java:785)

Can someone help me to resolve this.

Thanks

Tags: