Rad*_*dan 30 deployment jboss war
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
Run Code Online (Sandbox Code Playgroud)
我尝试重新启动JBoss服务器,我以前从未见过它,它之前工作正常.我搜索了解决这个问题的原因,但是找不到任何有用的东西,有人可以帮忙吗?
anv*_*rik 58
好吧,我尝试删除日志文件,它在开始时帮助,但后来我又得到了错误.正确的解决方案如下:
转到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>
Run Code Online (Sandbox Code Playgroud)
成:
<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>
Run Code Online (Sandbox Code Playgroud)
那它应该工作正常.
注意:这deployment-timeout是在几秒钟内
| 归档时间: |
|
| 查看次数: |
32489 次 |
| 最近记录: |