gpt4 book ai didi

java - Wildfly 在 Debug模式下部署超时

转载 作者:行者123 更新时间:2023-12-02 11:54:49 26 4
gpt4 key购买 nike

当尝试通过 eclipse 插件在 Debug模式下启动 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

我知道它超时,但我不知道为什么以及我应该做什么来解决这个问题。

当我在没有 Debug模式的情况下启动服务器时,这种情况不会发生。它启动速度更快,我可以正常访问我的应用程序。我是公司中唯一遇到此问题的人,但没有人知道发生了什么事。

我使用的是 Linux Ubuntu 64 位。

我将 Wildfly 的 VM 参数配置升级为:

-Xms256m -Xmx1536m

我正在使用自定义的standalone.xml,供我公司的每个人使用。

这花了很长时间,而且我大部分时间都在尝试以 Debug模式启动。(是的,有时以某种方式它会起作用,我有大约 10 分钟的时间来开发,而 Wildfly 帮助了我)。

我真的需要帮助,因为这使我无法工作......有人可以帮助我吗?

观察:为了安全起见,我更改了 war 文件名。

最佳答案

您应该检查方法断点。如果方法上有断点,只需将其删除即可。

enter image description here

关于java - Wildfly 在 Debug模式下部署超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47673324/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com