users@glassfish.java.net

Re: Trouble getting EJB from Linux GlassFish but not Windows GlassFish

From: <glassfish_at_javadesktop.org>
Date: Sun, 14 Dec 2008 06:25:39 PST

It's because the Linux Glassfish will resolve it's IP by using "localhost". However, in Linux hosts file /etc/host
127.0.0.1 localhost

Then the client would send request to the server by using 127.0.0.1 subsequently. Please just modify your host file on linux server.

Please refer to post here:
http://jeewesley.blogspot.com/2008/12/glassfish-ejb3-remote-interface-on.html
[Message sent by forum member 'wesleycl' (wesleycl)]

http://forums.java.net/jive/thread.jspa?messageID=321626