5 Replies Latest reply on May 23, 2016 4:14 AM by trondgzi

    Graceful shutdown without using cli?

    trondgzi

      Hi all!

       

      I have two WildFly 9.0.2 servers where one of them has an application that consumes JMS messages from the other. Every time I stop (kill -15 pid or ctrl-c when running in foreground) the WildFly server with the application that consumes messages I end up with a lot of "Invocation cannot proceed as component is shutting down" in my logs. If I stop it using cli :shutdown, then all is well.

       

      Is it possible to have WildFly perform a graceful shutdown without using cli?