-
1. Re: Management Interfaces stopping before server fully shutdown
jamezp Mar 24, 2017 1:17 PM (in response to johnnyleitrim)Have a look at the graceful shutdown documentation. This was partially implemented in WildFly 9 IIRC and further integration was done in WildFly 10.
--
James R. Perkins
-
2. Re: Management Interfaces stopping before server fully shutdown
johnnyleitrim Mar 25, 2017 2:11 PM (in response to jamezp)Thanks for the reply James. Interestingly, I see that the management service is not one of the listed supported subsystems (but undertow is, which is probably why i see that service stay up until the long running business thread has finished).
I wonder is there any way to get the management service to support graceful shutdown too?
-
3. Re: Management Interfaces stopping before server fully shutdown
jamezp Mar 27, 2017 2:19 PM (in response to johnnyleitrim)I don't think it would really work. There's not way to know when the management interface is no longer needed.
--
James R. Perkins
-
4. Re: Management Interfaces stopping before server fully shutdown
johnnyleitrim Mar 29, 2017 11:51 AM (in response to jamezp)Is there a way that I could declare that my deployment is dependent on the `jboss.remoting.server.remote-connector` service, thereby making sure it doesn't stop until my code has finished? Can I only declare that an MBean has a dependency on a WildFly service?
-
5. Re: Management Interfaces stopping before server fully shutdown
jamezp Mar 29, 2017 7:13 PM (in response to johnnyleitrim)I don't think you can that service dependency to your deployment for that service.
--
James R. Perkins