Jboss 7 war deployment failed

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:

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.

NOTE: This deployment-timeout is in seconds

Leave a Comment

tech