java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."ear_packaged.ear".contents to be removed so a new instance can be installed.: java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."ear_packaged.ear".contents to be removed so a new instance can be installed.

GitHub | wildfly-ci | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 9148#250158405

    GitHub | 7 months ago | wildfly-ci
    java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."ear_packaged.ear".contents to be removed so a new instance can be installed.: java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."ear_packaged.ear".contents to be removed so a new instance can be installed.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."ear_packaged.ear".contents to be removed so a new instance can be installed.: java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."ear_packaged.ear".contents to be removed so a new instance can be installed.

      at org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install()
    2. JBoss Application Server: Controller Core
      OperationContextImpl$ContextServiceBuilder.install
      1. org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install(OperationContextImpl.java:2169)
      1 frame
    3. JBoss Application Server: Server
      DeploymentHandlerUtil$5$1.handleResult
      1. org.jboss.as.server.deployment.ContentServitor.addService(ContentServitor.java:48)
      2. org.jboss.as.server.deployment.DeploymentHandlerUtil.doDeploy(DeploymentHandlerUtil.java:194)
      3. org.jboss.as.server.deployment.DeploymentHandlerUtil$5$1.handleResult(DeploymentHandlerUtil.java:373)
      3 frames
    4. JBoss Application Server: Controller Core
      ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run
      1. org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1448)
      2. org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1430)
      3. org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1392)
      4. org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1375)
      5. org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1239)
      6. org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:817)
      7. org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:666)
      8. org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:382)
      9. org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1363)
      10. org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:410)
      11. org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:232)
      12. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:213)
      13. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:136)
      14. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
      15. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:153)
      15 frames
    5. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    6. JBoss Application Server: Controller Core
      ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute
      1. org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
      2. org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:153)
      2 frames
    7. JBoss Application Server: Protocol Utilities
      ManagementRequestContextImpl$AsyncTaskRunner.run
      1. org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
      2. org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames
    9. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame