eclipsejbossjboss-developer-studio

RedHat Developer Studio losing status of JBoss on server restarts


I have Developer Studio set up with an instance of JBoss EAP 6.4.0.GA. I added it using the 6.1+ server type:

enter image description here

When I start and stop the server - either in debug mode or not - things seem to work fine. When the server is running and I try to restart it by clicking on the debug button or the play button for non-debug mode, Developer Studio restarts the server (I can see this happening in the logs) but loses track of the server and gives me an error saying:

enter image description here

After this, the server is running but Dev Studio doesn't know so if I try to start the server, I get this dialog:

enter image description here

If I then connect, the UI doesn't seem to update so I can't shut down the server:

enter image description here

This never happens when starting the server from scratch. It's only restarts. I was having this issue with JBoss Developer Studio (Eclipse) with 10.1.0 GA and am now also having the issue with 10.2.0 GA. Is there anything I can tweak to fix this?? Is there a startup or restart timeout that needs to be changed?


Solution

  • This was fixed recently :D It was a long-standing bug and had a race-condition in it.

    https://issues.jboss.org/browse/JBIDE-20426