JBAS015052
In your standalone.xml file add an attribute of 'deployment-timeout' to the 'deployment-scanner' element, and increase it from the default value of (60) the value is in seconds:
<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>
<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>
OK,it works.
本文介绍如何在standalone.xml文件中为'deployment-scanner'元素添加'deployment-timeout'属性,并将其值从默认的60秒增加到1000秒,以解决部署过程中的超时问题。
2468

被折叠的 条评论
为什么被折叠?



