I have your example code working. When running the code, I got the same exception on the client, however there also was a class loader exception in the sever log related to the the stub (sorry, renamed your test class to fit in with our other tests) .... 16:37:09,218 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: remote.prototype.TestClient_Stub 16:37:09,234 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:161) .....
Adding the stub to the server's classpath (packaged with the server side classes in the ejb-jar) took care of it and the message from server: 'A message from the EJB' came in fine. Another side effect still under investigation, the TestClient will not terminate (no return from main) unless you add a call to UnicastRemoteObject.unexportObject(...) [or an system.exit] at the end of main. [Possibly related to remote reference counting/garbage collection]. If you know the proper convention in such a case, let me know. David Montreal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830469#3830469 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830469 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user