Description of problem: When server is started in security mode (2-way SSL), imported into JON servers, and then restarted in unsecure mode and again imported, it shows two servers in Servers list. Version-Release number of selected component (if applicable): Version 3.3 Update-03 DR01 jon-plugin-pack-eap-3.3.0.GA.zip How reproducible: always Steps to Reproduce: 1. Configure EAP7 server to 2-way SSL and start it. 2. Agent monitoring EAPs is running and registered with the server. 3. In discovery queue of JON server it will show this server. 4. Import that server and verify that it is UP. 5. Stop that EAP7 server and start it in unsecure mode. 6. In discovery queue of JON server it will be shown with other port (xxx90). 7. Import it. 8. It will show one of servers UP and the second one as a DOWN. 9. Fix the DOWN server, by changing it's connection settings, such as port, "Start Script Arguments" to make it UP. There will be 2 same servers shown UP, both with the same port, but with different Key. 1st key is: hostConfig: /home/hudson/jboss-eap7-standalone/standalone/configuration/standalone-full-secured-changed.xml 2nd key is: hostConfig: /home/hudson/jboss-eap7-standalone/standalone/configuration/standalone-full-changed.xml 1st key is pointing to wrong configuration file, s server is restarted in unsecure mode, but it is just a key. According to discussion with developers, it is expected behavior. This is by design. Same way if server is restarted from standalone-full to standalone.
Similar to https://bugzilla.redhat.com/show_bug.cgi?id=1315376