Disabling the JBoss Deployment Scanner

In your jboss, inside the standalone directory you can find the standalone.xml file.

Look for the deployment-scanner and set the scan-interval to -1 which allows the deployment only possible from shell or at startup.

FYR,

<subsystem xmlns=”urn:jboss:domain:deployment-scanner:1.1″>
<deployment-scanner path=”deployments” relative-to=”jboss.server.base.dir” scan-interval=”-1″/>
</subsystem>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s