When I run my client I get the following error when trying to talk to Stateless
session bean...


Z:\Research\PD4\prototype\devel>run

Z:\Research\PD4\prototype\devel>set 
MYCLASSES=Z:\Research\PD4\prototype\devel\distribution\lib

Z:\Research\PD4\prototype\devel>E:\jdk1.3\bin\java -classpath 
.;E:\jboss\client\jndi.jar;E:\jboss\client\
jboss-client.jar;E:\jboss\client\jnp-client.jar;Z:\Research\PD4\prototype\devel\distribution\lib\pd4proto
20000612.jar;E:\jdk1.3 com.peopledoc.components.dsclient.TestClient
Caught an unexpected exception!
java.lang.ClassCastException: java.lang.NoClassDefFoundError
        at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown 
Source)
        at 
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:
81)
        at $Proxy1.createUser(Unknown Source)
        at com.peopledoc.components.dsclient.TestClient.testUser(TestClient.java:65)
        at 
com.peopledoc.components.dsclient.TestClient.performUserTest(TestClient.java:57)
        at com.peopledoc.components.dsclient.TestClient.<init>(TestClient.java:38)
        at com.peopledoc.components.dsclient.TestClient.main(TestClient.java:29)

Z:\Research\PD4\prototype\devel>



Do I have some incorrect jar files in my classpath when I run?
Or do I have some jars missing?

Thanks.
---------------------------------------------------------------------------
Stuart Barlow
+44 131 468 8205


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to