IN my case, I started the client with:
java -jar MyClient.jar
As the libraries were added in NetBeans (together with the .jar containing the EJB remote interface), NetBeans had put in the manifest of MyClient.jar the full classpath.
However, it doesn't work when started from another computer than the one containing the Glassfish server (I don't know why).
[Message sent by forum member 'mdynca']
http://forums.java.net/jive/thread.jspa?messageID=477406