Deployment JBoss7 war部署失败

Deployment JBoss7 war部署失败,deployment,jboss,war,Deployment,Jboss,War,JBoss7 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 configurat

JBoss7 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\u installation\u 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>

进入:


那么它应该可以正常工作

注意:当处理JBoss 7(6.1+EAP)时,此
部署超时时间以秒为单位

记住仅在服务器未运行时编辑XML设置-否则它们将被覆盖,并且不会发生更改


根据,
部署超时
以秒为单位指定,
扫描间隔
时间以毫秒为单位指定。

此超时值以秒为单位吗?还是毫秒?以秒为单位。默认值为60秒,只需将其设置为足够大的值,例如,现在为1000秒
<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>