I try to connect from a stand-alone swing client (running in a separate JVM on the client machine) to the Glassfish server.
I currently use the following settings fr
You are missing the jar containing the class com.sun.enterprise.naming.SerialInitialContextFactory in your classpath. Add it to the manifest of your client jar.