I know JBoss can handle exploded deployment (using folder WebApp.war in deploy directory) but is there a way I can tell JBoss to look for my war folder in a directory other than the deploy directory? In Tomcat, I can create a config file in the webapps folder and in the Context element point to a different directory. Can I do this in JBoss?
The configuration of which directories are to be scanned for deployments is in the file 'jboss-service.xml' in the conf folder under the configuration that you are using.
It is at the bottom of this file that deployment scanning is configured.