Thursday, June 11, 2009

How to deploy an application war file in the ROOT context in JBoss‏

Steps
--------------
- Rename the directories named "ROOT.war" placed inside the following locations (if the directory is there) to something else
- "JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\"
- "JBOSS_HOME\server\all\deploy\jbossweb-tomcat55.sar\"
- AND/OR any other instance "JBOSS_HOME\server\\deploy\jbossweb-tomcat55.sar\"
- Create an xml file named jboss-web.xml with the following contents

- Put the jboss-web.xml file in the WEB-INF directory of your war file and deploy the war file.

No comments:

Post a Comment