jboss启动超时问题
2016-05-13 21:56
239 查看
标签:
最近使用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
最近使用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
相关文章推荐
- K最近邻(KNN,k-Nearest Neighbor)准确理解
- drbd简单安装与配置
- python string.atof( )函数
- Windows中获取线程起始地址
- 设计模式之迭代器模式
- MySQL 高可用MHA安装部署以及故障转移详细资料汇总 转
- CISC和RISC的区别
- "妹知"源码解读
- get与post区别(很全~)
- Can not find the tag library descriptor for "http://Java.sun.com/jsp/jstl/core"
- 164. Maximum Gap【H】【80】【桶排序】【VIP】
- Loadrunner实现文件读写功能
- 神奇的expect
- 记账软件的典型用户模板和场景
- 自定义对话框,登陆,时间,日期对话框
- DOS命令
- 【BZOJ1856】[Scoi2010]字符串【组合数】【神题】
- html 传值之url 传值
- [主席树 二分答案] BZOJ 2653 middle
- Python闲谈(一)mgrid慢放