Tomcat 6: How to change the ROOT application

27 05 2011

1) unzip tomcat.zip to a directory

2) setup JAVA_HOME environment variable

3) create following file, named as “ROOT.xml” in conf/Catalina/localhost/

<docBase="[path to your htdocs]"
path=""
override="true"
debug="1"
privileged="true"
allowLinking="true"
reloadable="false">

4) restart tomcat

reference : http://stackoverflow.com/questions/715506/tomcat-6-how-to-change-the-root-application








Follow

Get every new post delivered to your Inbox.