Issue Type: Bug Bug
Affects Versions: 3.3.0.Final
Assignee: Rob Stryker
Components: JBossAS/Servers
Created: 02/Jul/12 11:10 AM
Description:

When you set up your server to be bound to IPv6 (but you don't bind the management port to anything), the server fails to stop. Second attempt will force the server to stop.

This is the error in the log:

!ENTRY org.eclipse.wst.server.core 4 0 2012-07-02 16:49:05.284
!MESSAGE Server jboss-eap-6.0.0.GA failed to stop.

This happens most probably because in such scenario, the management port is bound to IPv4 localhost (127.0.0.1).

Indeed I just verified that this is not related to IPv6 specifically but any host name other than localhost - if you don't check "Expose your management port" (and don't set -Dmanagement manually) and the hostname is something else than localhost, then this issue will arise. Note that with remote servers you don't need to bind the management port to anything for server stop to work. So we either need to set -Dmanagement always or make sure it is not needed.

Environment: JBDS 5.0.0.GA
Fedora 17 / OS X 10.7 Lion
JBoss EAP 6.0.0.GA
Fix Versions: 3.3.1
Project: Tools (JBoss Tools)
Priority: Major Major
Reporter: Martin Malina
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira