users@glassfish.java.net

Re: glassfish linux

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Sep 2009 14:28:27 PDT

When you say "execute the applications", do you mean access the web/ejb apps running in GF from another computer? An alternative interpretation is that you mean start/stop GF itself from the other computer but I don't think that's what you mean.

The likely cause is that you have configured GF to only listen on localhost (127.0.0.1) and not all interfaces (0.0.0.0). You can test this theory by doing 'netstat -an|grep LISTEN|grep -w [i]port[/i]' where [i]port[/i] is the port you configured GF to listen on. It will either say 127.0.0.1:[i]port[/i] or 0.0.0.0.:[i]port[/i].

If so, you need to configure GF from the admin screen to listen on interface 0.0.0.0. I don't exactly how but it should be reasonably obvious (it's the http service you need to configure).
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]

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