[GLASSFISH-20436] Provide command to identify the http port for a clustered instance independent of whether it uses the default cluster config Created: 29/Apr/13  Updated: 22/May/13

Status: Reopened
Project: glassfish
Component/s: admin
Affects Version/s: 4.0_b86_RC2
Fix Version/s: future release

Type: Improvement Priority: Major
Reporter: marina vatkina Assignee: kumara
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


There is no asadmin command to identify http port of the 1st instance in cluster. The currently available work around of 'asadmin get configs.config.<cluster-name>-config.system-property.HTTP_LISTENER_PORT.value' returns the default value, not the actual value of the assigned port in case the default port was not available at the time of the instance creation.

Comment by Tom Mueller [ 30/Apr/13 ]

Try the following get command for a server named "i1":

$ asadmin get servers.server.i1.system-property.HTTP_LISTENER_PORT.value

If the server is using the default value from the cluster, then you get this output:

remote failure: Dotted name path servers.server.i1.system-property.HTTP_LISTENER_PORT.value not found.
Command get failed.

If the server is using its own value, then you get this output:

Command get executed successfully.

Comment by Tom Mueller [ 30/Apr/13 ]

Marking this as resolved since there is a command sequence that provides this information.

If the desire is for a single command that provides this information, then we can reopen this issue and change it to be an RFE.

Comment by marina vatkina [ 30/Apr/13 ]

will change it to RFE

Generated at Tue Oct 13 12:24:56 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.