The error suggests your application indirectly references the class com.ibm.wsspi.cluster.Identity
, so that class will need to be added to the classpath for the ejbDeploy step. The ejbdeploy command does have a -cp
option for this purpose. That particular class is made available in the WebSphere thin client JARs. For example, if this is a JAX-WS application, then you might include <WAS_INSTALL>/runtimes/com.ibm.jaxws.thinclient_9.0.jar
to the ejbdeploy classpath.
Alternatively, beginning with WebSphere Application Sever v9.0.5.0 the EJBDeploy step is no longer required if the application does not contain EJB Entity beans. The deployment artifacts will be generated for you dynamically at runtime, as needed. Note that since your application does include remote EJB interfaces, you may still need to generate RMI Stub classes if using a thin client. The Stub classes may be generated using RMIC from the JDK (with the -iiop option s) or the createEJBStubs command from WebSphere.