0 Replies Latest reply on Nov 8, 2019 11:48 AM by migraine-boy-developer

    Why does the wildfly server started from the wildfly-maven-plugin not shut down gracefully?

    migraine-boy-developer

      Hi all,

       

      I start a wildfly server from the wildfly-maven-plugin in order to perform integration-tests.

      Every once in a while, the server does not shut down properly after the tests are done, and the java process does not terminate.

      I get:

      WARN [org.jboss.as.controller] (ServerService Thread Pool -- 24) JBAS014618: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding

       

      Any idea how to fix this or how to further investigate possible reasons?

       

      This is the tail of the server.log:

      ...

      13:41:19,228 TRACE [org.jboss.as.remoting] (Remoting "huibui:MANAGEMENT" task-13) Handling close for org.jboss.as.protocol.mgmt.ManagementChannelHandler@120f228c

      13:41:19,229 DEBUG [org.jboss.as.connector.logging] (MSC service thread 1-3) Stopped CcmService service jboss.cached-connection-manager

      13:41:34,227 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 24) JBAS014618: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding

      13:41:34,229 DEBUG [org.jboss.as.protocol] (ServerService Thread Pool -- 24) cancelled operation (804177710) attachment: (null) this: org.jboss.as.protocol.mgmt.ManagementChannelHandler@5a6f8ed5.

       

      BR,

       

      Stefan