JBoss AS 7 disable hot deployment
jboss
Solution
You could just remove the deployment scanner subsystem.
Remove `<extension module="org.jboss.as.deployment-scanner"/>` and then remove the:
<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" auto-deploy-zipped="false" auto-deploy-exploded="false"/>
</subsystem>
If you don't want to remove the subsystem, add `auto-deploy-zipped="false" auto-deploy-exploded="false"` to your `<deployment-scanner/>` tag.
Problem
In previous versions you just disable the ScanEnabled attribute in conf/jboss-service.xml. I am wondering how do you disable this on JBoss 7 Thanks