[GLASSFISH-13885] [UB]asadmin appears to ignore the --port option Created: 08/Oct/10  Updated: 08/Apr/11  Resolved: 08/Apr/11

Status: Resolved
Project: glassfish
Component/s: docs
Affects Version/s: 3.1
Fix Version/s: 3.1_ms08

Type: Bug Priority: Major
Reporter: Ryan Lubke Assignee: Paul Davies
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Macintosh


Attachments: PDF File GLASSFISH-13885-fix.pdf    
Issuezilla Id: 13,885

 Description   

Call:

asadmin set
server-config.network-config.network-listeners.network-listener.admin-listener.port=4849

then

asadmin stop-domain

Fails. This is because the DAS is still listening on 4848 but stop-domain is
trying to connect to 4849.

Issue: asadmin -port 4848 stop-domain <- THIS APPEARS TO FAIL TO CONNECT



 Comments   
Comment by Tom Mueller [ 08/Oct/10 ]

This is the same issue as bugtraq 6961090.

Comment by Tom Mueller [ 03/Nov/10 ]

The solution for this is to specify the hostname of the host (rather than the
default of "localhost") on the command line. This causes stop-domain to be run
as a remote command. So if you are running on www.example.com, then use:

asadmin --host www.example.com --port 4848 stop-domain

and this will stop the domain. The stop-domain command also works from a remote
host in this situation.

Changing this to a doc bug so that this can be explained in a section of the
documentation that talks about changing the admin port.

Comment by Paul Davies [ 10/Dec/10 ]

[UB] Unbundled documentation; fix in milestone 8 in the Administration Guide or the Troubleshooting Guide.

Comment by Paul Davies [ 08/Apr/11 ]

Fix attached for verification. The fix will be delivered in the next update to the all-in-one documentation bundle.

Generated at Sat Aug 27 00:27:10 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.