Jumat, 02 November 2012

JBAS015052

I was deploying my ear applications into jboss-as-7.1.1-Final on standalone server and got some errors on deployment.

ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) 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.

The resolution is quite easy:
  1. Goto $JBOSS_HOME/standalone/configuration/
  2. Open standalone.xml then find node
    <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
       <deployment-scanner path="deployments"
          relative-to="jboss.server.base.dir"
          scan-interval="5000" />
    </subsystem>
  3. Add attribute deployment-timeout, the value is in seconds. I chose the deployment time-out after 20 minutes. So the scanner node looks like:
    <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
         <deployment-scanner path="deployments" relative-to="jboss.server.base.dir"
          scan-interval="5000" deployment-timeout="1200"/>
    </subsystem>

Reference: https://docs.jboss.org/author/display/AS7/Deployment+Scanner+configuration


Tidak ada komentar:

Posting Komentar