Class not found error when attempting to run designer.sh

Document ID : KB000045814
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

After installing IM 12.6.x on linux you see this error

Message received:
09:49:59.819 com.ibm.rmi.util.Utility loadStub:1451 P=398535:O=0:CT ORBRas[default] java.lang.ClassNotFoundException: com.workpoint.server.pojo._ServerConfigPvt_Stub
at com.ibm.rmi.util.Utility.getRemoteClass(Utility.java:1480)
at com.ibm.rmi.util.Utility.access$200(Utility.java:150)
at com.ibm.rmi.util.Utility$NarrowClassToRemoteClassCache.get(Utility.java:276)
at com.ibm.rmi.util.Utility.loadStub(Utility.java:1437)
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:343)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:149)
at com.workpoint.client.connect.ClientContextEJB.narrow(Unknown Source)
at com.workpoint.client.connect.ClientContextEJB.B(Unknown Source)
at com.workpoint.client.connect.ClientContextEJB.A(Unknown Source)
at com.workpoint.client.connect.ClientContextEJB.getServerConfigPvt(Unknown Source)
at com.workpoint.client.ClientContext.retrieveAuthInfo(Unknown Source)
at com.workpoint.gui.designer.Designer.A(Unknown Source)
at com.workpoint.gui.designer.Designer.launch(Unknown Source)
at com.workpoint.gui.designer.Designer.main(Unknown Source)

Environment:  

IdentityManger 12.6.x on linux

Instructions: 

Validate that the error you are getting has:

java.lang.ClassNotFoundException: com.workpoint.server.pojo._ServerConfigPvt_Stub

We must then edit the Linux init.sh file as below:

added under WAS info
WS_JARS=../lib/wpwasClientStubs.jar

add to end of WP_ClassPath line:
$WS_JARS