dev@glassfish.java.net

Re: Usability feedback on 'list-instance -l' output...

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Fri, 15 Jul 2011 13:47:36 -0500

Vince,
You make a good point. BTW, it is possible to use the REST monitoring
interface on an instance's admin port, i.e.,

http://host:24852/monitoring/domain

Tom

On 7/15/2011 10:24 AM, vince kraemer wrote:
> Hi all...
>
> This is just a quick note about the list-instances command.
>
> When a user triggers the command with the -l (--long) option they see
> something like this:
>
> S:\Users\vbk\GlassFish_Server_3.1.1>bin\asadmin
> NAME HOST PORT PID CLUSTER STATE
>
> lic1 localhost 24852 3828 c1 running
>
> This is mostly useful... but why does a user want to know the admin
> port for an instance?
>
> I tried to use my browser to connect to localhost:24852 and got this
> message...
>
> Administration Console Not Available
> The Administration Console is available only from the Domain
> Administration Server. It is not accessible from a Server Instance.
>
> I understand why I got that message... I do not know if regular uses
> would...
>
> Maybe the output from --long should give the port of value of an
> instance's enabled http-listener? It seems like that would be more
> useful.
>
> vbk
>