jboss启动超时问题

标签:

        最近使用jboss7开发web系统,在开发环境中运行正常,但是发送到现场时启动报错,刚开始感觉很莫名其妙,后来现场发回jboss日志,发现报错 如下  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. 大概看出是超时的问题。于是我查看了开发环境里的日志,基本上在60s内都加载完成,而现场日志显示加载远远超过60s。60s应该是默认的时间,所以解决问题就要将超时时间设置长一点。

        解决办法,修改standalone.xml 的配置

<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
     <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" />
</subsystem> 

        添加 deployment-timeout="1000"

<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
     <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"deployment-timeout="1000"/>
</subsystem> 


jboss7启动超时问题 JBAS015052

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值