6 May 2015

Deployment Scanner in JBoss

In JBoss, deployment scanner is a subsystem used only in standalone mode to monitor a directory for new files and to deploy them.

It is defined & configured inside standalone.xml as shown.
<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.0">
      <deployment-scanner scan-interval="10000" relative-to="jboss.server.base.dir"path="deployments" />
</subsystem>
The above configuration will scan '{JBOSS_HOME}/standalone/deployments' directory every 10 seconds, if there are any new files then it will deploy them.

Related Posts:

     Starting and Stopping JBoss Application Server

     JBoss Logging Configuration

     Installing JBoss Application Server in Windows





Popular Posts

Write to Us
Name
Email
Message