[jbosstools-issues] [JBoss JIRA] (JBIDE-12282) Local AS7/EAP6 fails to stop when bound to IPv6 address or anything but localhost really
Martin Malina (JIRA)
issues at jboss.org
Tue Apr 22 11:18:34 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-12282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12963056#comment-12963056 ]
Martin Malina commented on JBIDE-12282:
---------------------------------------
The main cause of this issue is actually not connected to IPv6 - I created JBIDE-17173 for it.
The problem is that when you change the Host name of a server, the tooling then tries to use that address for management startup poller (at least that is my assumption), but this won't work, since the management port is still bound to localhost.
> Local AS7/EAP6 fails to stop when bound to IPv6 address or anything but localhost really
> ----------------------------------------------------------------------------------------
>
> Key: JBIDE-12282
> URL: https://issues.jboss.org/browse/JBIDE-12282
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 3.3.0.Final
> Environment: JBDS 5.0.0.GA
> Fedora 17 / OS X 10.7 Lion
> JBoss EAP 6.0.0.GA
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Fix For: 4.1.x
>
>
> 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:
> {code}
> !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.
> {code}
> 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.
--
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
More information about the jbosstools-issues
mailing list