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应该是默认的时间,所以解决问题就要将超时时间设置长一点。

 

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

 解决办法,修改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> 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄