Friday, February 14, 2014

Deploy a WAR file on root context in JBoss 7.1


1: set “enable-welcome-root” to false in \standalone\configuration\standalone.xml.

2: Create an empty file with name "ROOT.war.dodeploy" and place it in \standalone\deployments

3: Rename cq snapshot war file to ROOT.war and place it in \standalone\deployments.

4: run standalone.bat file

Thanks!!