Jboss 7 战争部署失败 [英] Jboss 7 war deployment failed
问题描述
Jboss 7 war 部署失败,我在日志中收到以下错误消息.
Jboss 7 war deployment failed and i got the below error message in the log.
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 服务器,我以前从未见过这种情况,之前它运行良好.我用谷歌搜索了这个问题的解决方案和原因,但找不到任何真正有用的东西,有人可以帮忙吗?
I tried restarting the JBoss server, I have never seen this before, it was working fine before. I googled around for solution and cause of this issue but cant find anything really useful, can anyone help please?
推荐答案
好吧,我尝试删除日志文件,它在开始时有所帮助,但后来又出现了错误.正确的解决方法如下:
Well I tried deleting the log file, it helped at the beginning but then I got the error again. The proper solution is as following:
转到Jboss_installation_dirstandaloneconfiguration
并找到文件standalone.xml
.更改以下行:
Go to Jboss_installation_dirstandaloneconfiguration
and find the file standalone.xml
. Change the following line:
<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>
那么它应该可以正常工作.
then it should work fine.
注意:这个deployment-timeout
是以秒为单位的
这篇关于Jboss 7 战争部署失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!