在尝试部署我的应用程序时遇到错误,尝试通过eclipse的插件在调试模式下启动WildFly 10.1.0。 我有4个应用程序直接通过wildfly的文件夹进行部署,其.war文件和3个应用程序在我的工作空间中,部署在eclipse的插件上。
错误就是这个。
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
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0190: Step handler org.jboss.as.server.DeployerChainAddHandler$FinalRuntimeStepHandler@12ac20df for operation {"operation" => "add-deployer-chains","address" => []} at address [] failed handling operation rollback -- java.util.concurrent.TimeoutException: java.util.concurrent.TimeoutException
ERROR [org.jboss.as.controller.client] (Controller Boot Thread) WFLYCTL0190: Step handler org.jboss.as.domain.management.security.SecurityRealmAddHandler$ServiceInstallStepHandler@2b4e1dec for operation {"address" => [("core-service" => "management"),("security-realm" => "ApplicationRealm")],"operation" => "add","map-groups-to-roles" => undefined} at address [
("core-service" => "management"),
("security-realm" => "ApplicationRealm")
] failed handling operation rollback --
java.util.concurrent.TimeoutException
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124)
at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
ERROR [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0022: Deploy of deployment ".....-.war" was rolled back with no failure message
我知道它超时了,但我不知道为什么以及如何解决这个问题。
当我在没有调试模式的情况下启动服务器时,这不会发生。 它启动得更快,我可以正常访问我的应用程序。 我是公司中唯一一个有这个问题的人,也没有人知道发生了什么。
我正在使用Linux Ubuntu 64位。
我将Wildfly的VM参数配置升级为:
-Xms256m -Xmx1536m
我正在使用自定义standalone.xml,用于我公司的每个人。
这花了这么长时间,我大部分时间都在缺席,试图在调试模式下启动。 (是的,有时候它会起作用,我喜欢10分钟开发,而野生动物帮助我)。
我真的需要帮助,因为这使我无法工作......可能有人帮助过我吗?
Obs。:我改变了war文件名,只是为了安全。