Jboss 7战争部署失败 [英] Jboss 7 war deployment failed

查看:520
本文介绍了Jboss 7战争部署失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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_dir\standalone\configuration 并找到文件 standalone.xml 。更改以下行:

Go to Jboss_installation_dir\standalone\configuration 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>

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>

然后它应该可以正常运行。

then it should work fine.

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

这篇关于Jboss 7战争部署失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆