What is the correct way to turn off the JBoss hot deploy service?
This is a production environment.
Edit: JBoss version 5.1.0 GA
You could just remove the deployment scanner subsystem. If you don't want to remove the subsystem, add auto-deploy-zipped="false" auto-deploy-exploded="false" to your <deployment-scanner/> tag.
Deployment is the term used for the process of installing a web application (either a 3rd party WAR or your own custom web application) into the JBoss Web server. Web application deployment may be accomplished in a number of ways within the JBoss Web server.
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.
The uploaded war is stored in a file called /data/content/ad/xxxxx/content where xxxxx is some temporary directory name. When JBoss is running the exploded contents of your war will be in the /tmp/vfs/temp/tempxxxxxxx/content-yyyyyyy where xxxxxxx and yyyyyyy are random hex values.
I think deleting the "deploy/hdscanner-jboss-beans.xml" file is the correct way to do this.
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