admin@glassfish.java.net

Re: getting admin port number

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Mon, 21 Jun 2010 10:41:50 -0700

RemoteInstanceCommandHelper has exactly what you want.


On 6/21/2010 6:48 AM, 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
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188