users@glassfish.java.net

Re: asadmin and port 118?

From: Paul Davies <paul.m.davies_at_oracle.com>
Date: Mon, 19 Mar 2012 15:48:44 -0700

Hi Laird,

You're welcome.

You are correct that the offset is (arithmetically) added to the value
of --portbase, not appended to it.

Therefore, to use port 7048 for administration requests by specifying
--portbase, set --portbase to 7000.

Regards,
-Paul

On 3/19/2012 3:31 PM, Laird Nelson wrote:
> On Mon, Mar 19, 2012 at 6:18 PM, Paul Davies <paul.m.davies_at_oracle.com
> <mailto:paul.m.davies_at_oracle.com>> wrote:
>
> Hi Laird,
>
> According to the descriptions in |--domainproperties| in
> |create-domain|(1)
> <http://docs.oracle.com/cd/E26576_01/doc.312/e24938/create-domain.htm#GSRFM00023>:
>
> On UNIX, creating sockets that listen on ports 1-1024 requires
> superuser privileges.
>
> Oh, this is not from my misreading THAT option, it's from my
> misreading the --portbase option. My mistake. I thought portbase
> described a concatenation operation, but it's a summation.
>
> (e.g. the difference between concatenating portbase and various
> Glassfish port "suffixes" and summing portbase with those Glassfish ports)
>
> Thanks for your help.
>
> Thanks,
> Laird
>
> --
> http://about.me/lairdnelson
>