dev@glassfish.java.net

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

From: vince kraemer <vince.kraemer_at_oracle.com>
Date: Fri, 15 Jul 2011 08:24:08 -0700

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