Jboss 7 war deployment failed

前端 未结 3 1280
日久生厌
日久生厌 2021-01-31 16:49

Jboss 7 war deployment failed and i got the below error message in the log.

ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS01         


        
相关标签:
3条回答
  • 2021-01-31 17:19

    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

    0 讨论(0)
  • 2021-01-31 17:19

    When dealing with JBoss 7 (6.1+ EAP) remember to edit XML settings only when the server is not running - otherwise they will be overwritten and the changes will not take place.

    According to the documentation, Deployment-timeout is specified in seconds and Scan-interval time is specified in miliseconds.

    0 讨论(0)
  • 2021-01-31 17:37

    It was caused by insufficient space on the disk, cleared some unwanted log files and other temp files to fix this issue.

    0 讨论(0)
提交回复
热议问题