1 Reply Latest reply on Mar 5, 2015 4:11 PM by Tomaz Cerar

    Deploy operation hangs in wildfly 8.2

    Tzu-Chi Wang Newbie

      Hi,

       

      I set up a ha singleton environment in wildfly 8.2, and used MSC service to deploy application while service being invoked.

      The service is triggered correctly on my first node while my second node is up. However, it hanged there when performing deploy operation.

      Here is the stacktrace on my first node:

      "HADeploymentScanner-threads - 1" prio=10 tid=0x00007f8a6800e000 nid=0x7ef in Object.wait() [0x00007f896dfdd000]

         java.lang.Thread.State: WAITING (on object monitor)

              at java.lang.Object.wait(Native Method)

              - waiting on <0x00000000b14184d0> (a java.lang.Object)

              at java.lang.Object.wait(Object.java:503)

              at org.jboss.msc.service.StabilityMonitor.awaitStability(StabilityMonitor.java:306)

              - locked <0x00000000b14184d0> (a java.lang.Object)

              at org.jboss.msc.service.StabilityMonitor.awaitStability(StabilityMonitor.java:273)

              at org.jboss.as.controller.ContainerStateMonitor.await(ContainerStateMonitor.java:98)

              at org.jboss.as.controller.ModelControllerImpl.awaitContainerMonitor(ModelControllerImpl.java:626)

              at org.jboss.as.controller.OperationContextImpl.awaitContainerMonitor(OperationContextImpl.java:462)

              at org.jboss.as.controller.OperationContextImpl.getServiceRegistry(OperationContextImpl.java:304)

              at org.jboss.as.server.deployment.DeploymentHandlerUtil$1.execute(DeploymentHandlerUtil.java:102)

              at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:660)

              at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501)

              at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298)

              at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293)

              at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:276)

              at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:150)

              at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:489)

              at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:479)

              at org.jboss.as.server.deployment.scanner.HADeployService$1.call(HADeployService.java:236)

              at org.jboss.as.server.deployment.scanner.HADeployService$1.call(HADeployService.java:233)

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

              at java.util.concurrent.FutureTask.run(FutureTask.java:166)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

              at java.lang.Thread.run(Thread.java:722)

              at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

      The operation is never returned. In the same service, I am able to invoke other msc services such as read jboss version etc, but unable to do deploy.

      It stocked on getServiceRegistry.

       

      Am I missing any configuration?

       

      Thanks.