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
1. In Integration Server Administrator, click Settings > Hot Deployment > Edit Hot Deployment Settings. 2. Next to Enable, select No to disable hot deployment of packages.
From the JBoss bin directory, run the command jboss-cli --connect to start the JBoss CLI and connect to the application server. Run the /deployment command on the compressed WAR file or exploded WAR folder. [If you are deploying to a managed domain, also run the /server-group command.]
Automatic application deployment is a simple process that consists of dropping an application into the deployments folder, which is located in the path JBOSS_HOMEstandalonedeployments. By default, every application archive (WAR, JAR, EAR, and SAR) that is placed into this folder is automatically deployed on the server.
An exploded deployment is an application which is not packaged in a . war, . ear or . jar file but it's contained in a directory using these extensions (.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With