我是jboss服务器的新手.当我尝试在服务器上部署.war文件时,以下异常在控制台上打印:
6:38:04,388 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0348: Timeout after [300] seconds waiting for service container stability. Operation will roll back. Step that first updated the service container was 'add' at address '[ ("core-service" => "management"), ("management-interface" => "http-interface") ]' 16:38:05,642 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with driver-name = Aerobay.war_com.mysql.jdbc.Driver_5_1 16:38:09,548 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0190: Step handler org.jboss.as.server.DeployerChainAddHandler$FinalRuntimeStepHandler@5f88823f for operation {"operation" => "add-deployer-chains","address" => []} at address [] failed handling operation rollback -- java.util.concurrent.TimeoutException: java.util.concurrent.TimeoutException at org.jboss.as.controller.OperationContextImpl.waitForRemovals(OperationContextImpl.java:396) at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1384) at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1332) at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1292) at org.jboss.as.controller.AbstractOperationContext$Step.access$300(AbstractOperationContext.java:1180) at org.jboss.as.controller.AbstractOperationContext.handleContainerStabilityFailure(AbstractOperationContext.java:964) at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:590) at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:354) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:330) at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1183) at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:453) at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:327) at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:313) at org.jboss.as.server.ServerService.boot(ServerService.java:384) at org.jboss.as.server.ServerService.boot(ServerService.java:359) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:271) at java.lang.Thread.run(Thread.java:745)
在此先感谢您的帮助 !
当我尝试在Red Hat Jboss EAP 7.0上部署WAR文件时遇到了同样的问题.
但是服务器已集成到我的IDE(Eclipse Neon)中,问题只出现在Debug-Modus中.
我能够通过删除所有断点来解决问题,然后再次启动服务器.
尝试通过添加java选项"blocking.timeout"来增加超时.您可以通过添加行来在bin/standalone.conf.bat(取决于您如何配置wildfly)中执行此操作:
set"JAVA_OPTS =%JAVA_OPTS%-Djboss.as.management.blocking.timeout = 600
如果数量不够,请更改数字.