Issue Details (XML | Word | Printable)

Key: GLASSFISH-13885
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Paul Davies
Reporter: Ryan Lubke
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

[UB]asadmin appears to ignore the --port option

Created: 08/Oct/10 09:34 AM   Updated: 08/Apr/11 07:06 PM   Resolved: 08/Apr/11 07:06 PM
Component/s: docs
Affects Version/s: 3.1
Fix Version/s: 3.1_ms08

Time Tracking:
Not Specified

File Attachments: 1. PDF File GLASSFISH-13885-fix.pdf (429 kB) 08/Apr/11 07:05 PM - Paul Davies


Operating System: All
Platform: Macintosh

Issuezilla Id: 13,885
Participants: Paul Davies, Ryan Lubke and Tom Mueller

 Description  « Hide


asadmin set


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

Tom Mueller added a comment - 08/Oct/10 09:39 AM

This is the same issue as bugtraq 6961090.

Tom Mueller added a comment - 03/Nov/10 02:51 PM

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, then use:

asadmin --host --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.

Paul Davies added a comment - 10/Dec/10 10:13 AM

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

Paul Davies added a comment - 08/Apr/11 07:05 PM

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