4 Replies Latest reply on Sep 11, 2018 5:20 AM by Mathias Deshayes

    Very slow undeployment

    Mathias Deshayes Newbie

      Hi,

       

      I have a strange behavior with one of my application, the undeployment is very slow (about 2 minutes). This is not very critical but it's quite annoying during dev when I need to regularly redeploy my app.

       

      Environment : Wildfly 9.0.2 Final / JRE 1.8

      Application contains one EJB jar and two wars.

       

      Here's the undeployment logs :

       

      16:49:39,001 INFO  [org.jboss.as.jpa:212] (ServerService Thread Pool -- 90) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'my-application-4.6.0-SNAPSHOT.ear/my-application-ejb.jar#myApp'

      16:49:39,014 INFO  [org.jboss.weld.deployer:132] (MSC service thread 1-7) WFLYWELD0010: Stopping weld service for deployment my-application-4.6.0-SNAPSHOT.ear

      16:49:39,089 INFO  [org.jboss.as.jpa:159] (ServerService Thread Pool -- 90) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'my-application-4.6.0-SNAPSHOT.ear/my-application-ejb.jar#myApp'

      16:49:39,109 INFO  [org.jboss.as.server.deployment:97] (MSC service thread 1-7) WFLYSRV0208: Stopped subdeployment (runtime-name: my-application-ejb.jar) in 427ms

      16:49:39,148 INFO  [org.jboss.as.server.deployment:97] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: my-application-web-basic-4.6.0-SNAPSHOT.war) in 467ms

      16:49:39,161 INFO  [org.jboss.as.server.deployment:97] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: my-application-web-ssl-4.6.0-SNAPSHOT.war) in 479ms

      16:51:51,393 INFO  [org.jboss.as.server.deployment:95] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment my-application-4.6.0-SNAPSHOT.ear (runtime-name: my-application-4.6.0-SNAPSHOT.ear)

      in 132714ms

       

      I tried to change log level of org.jboss.as.server.deployment but it didn't help. Any idea why is it so long ? Or at least an idea to troubleshoot what's happening.

       

      Thanks !