admin@glassfish.java.net

Re: getting admin port number

From: Carla Mott <carla.mott_at_oracle.com>
Date: Mon, 21 Jun 2010 10:51:29 -0700

I see that in RemoteInstanceCommandHelper (which I'm already using)
there a method for getting the port number. Presumably I can use that
and will get the fix when it is available?

Thanks,
Carla

Vijay Ramachandran wrote:
> The correct way it to get the value set in the <network-listener>
> element. Currently the token ASADMIN_PORT is not getting replaced by
> the appropriate value.
>
> Jennifer / Byron are working on fixing that - till then, you have to
> use the system props to get the admin port number
>
> Vijay
>
> On 6/21/10 12:10 AM, Carla Mott wrote:
>> Hi
>>
>> What's the easiest way for code in the DAS to get the admin port
>> number? I see that I can get the hostname from a system property but
>> what about the port? I need to pass these values to some commands
>> when running over ssh.
>>
>> Thanks,
>> Carla
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>