gpt4 book ai didi

deployment - Jboss 7 war 部署失败

转载 作者:行者123 更新时间:2023-12-02 23:30:18 27 4
gpt4 key购买 nike

Jboss 7 war 部署失败,我在日志中收到以下错误消息。

ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment

我尝试重新启动 JBoss 服务器,我以前从未见过这种情况,以前工作正常。我用谷歌搜索了这个问题的解决方案和原因,但找不到任何真正有用的东西,有人可以帮忙吗?

最佳答案

好吧,我尝试删除日志文件,一开始它有帮助,但后来我再次收到错误。正确的解决方法如下:

转到Jboss_installation_dir\standalone\configuration并找到文件standalone.xml。更改以下行:

<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.0">
<deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" />
</subsystem>

进入:

<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.0">
<deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" deployment-timeout="1000" />
</subsystem>

那么它应该可以正常工作。

注意:部署超时以秒为单位

关于deployment - Jboss 7 war 部署失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15001342/

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