[
https://issues.jboss.org/browse/JBIDE-21065?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-21065:
-------------------------------------
I've made two commits for this issue.
The first fixes a few similar issues, of properties being changed when you change the
host. The second fixes the specific issue here of setDefaults being called too often.
Upstream has made a commit on the issue. Unfortunately it's not yet in neon.2. I will
request for it to be so. You may notice fixes via the first commit, but still some things
not working, until we get the patch into neon.2 and also consume it in our TP.
Things you will notice as fixed now: In new server wizard, go to 2nd page, change a
setting (such as runtime or externally-launched flag), go back to first page, change host,
go forward again to 2nd page, and note that all attributes now seem to match the current
status of the new server wizard model.
But the specific issue of the host itself being incorrect will not be fixed until we get
the neon.2 patch.
Server host name address should not be defaulted during server
adapter creation
-------------------------------------------------------------------------------
Key: JBIDE-21065
URL:
https://issues.jboss.org/browse/JBIDE-21065
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server, upstream
Affects Versions: 4.3.0.Final
Reporter: Xavier Coulon
Assignee: Rob Stryker
Fix For: 4.4.2.AM2
I've noticed that when I create a server adapter and I give it an IP address as the
hostname, the hostname remains the default value, ie, {{localhost}}.
This is annoying in the case where I want to connect to a VM running on my own host (eg,
a VM running Docker). In this particular case, I set the hostname at something like
{{192.168.99.100}} but it is reverted as {{localhost}} which gives {{127.0.0.1}} as the
primary IP address. As a consequence, the server adapter fails to connect to the server
since it uses the wrong IP address.
Note that the host name can be changed for good in the Server Configuration Editor
_after_ its creation.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)