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 服务器,我以前从未见过这种情况,以前工作正常。我用谷歌搜索了这个问题的解决方案和原因,但找不到任何真正有用的东西,有人可以帮忙吗?
好吧,我尝试删除日志文件,一开始它有帮助,但后来我再次收到错误。正确的解决方法如下:
Go to 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>
into:
<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>
那么它应该可以正常工作。
NOTE: This deployment-timeout
以秒为单位
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)