users@glassfish.java.net

Re: help installing glassfish?

From: <glassfish_at_javadesktop.org>
Date: Sun, 09 May 2010 05:32:23 PDT

Hi , portbase isn't the port of http listener of the server. If u check the ma for the create-domain command it explains:

--portbase
    Determines the number with which the port assignment
    should start. A domain uses a certain number of ports
    that are statically assigned. The portbase value deter-
    mines where the assignment should start. Choose this
    value carefully. The values for the ports are calculated
    as follows: Admin port: portbase + 48, HTTP listener
    port: portbase + 80, IIOP listener port: portbase + 37,
    JMX port: portbase + 86. See the output of this subcom-
    mand for a complete list of occupied ports, when --
    portbase option is specified. The --portbase option can-
    not be used with the --adminport, --instanceport, or the
    --domainproperties option.

To set ports u have to use the two options:--adminport and --instanceport.

Hope it can help u, Daniele
[Message sent by forum member 'tapdani']

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