dev@glassfish.java.net

v3 start up is silent even when there is port conflicts

From: <Shing-Wai.Chan_at_Sun.COM>
Date: Thu, 11 Sep 2008 18:14:57 -0700

Hi,

I have a discussion with Rajiv.
Here is what we see.
1. port 8080 was occupied by another process in the machine
2. start v3 by asadmin without any error message
        asadmin start-domain domain1
        Name of the domain started: [domain1] and
        its location: [/export/gfv3/src/install/glassfish/domains/domain1].
        Admin port for the domain: [4848].
3. deployment with error
        asadmin deploy hellojsp.war
        Remote server does not listen for requests on [localhost:4,848].
        Is the server up?
        Command deploy failed.

I understand that we have (2) as the container have not started.
But should we check the port in (2)?
(If 8080 is occupied by another http engine, then one may (by mistake) think
 that v3 is up. But in fact, another process is serving the request!!!
This is an
 issue.)

Regards,
      Shing Wai Chan