Redirect Tomcat to point to custom directory
- Works with apache-tomcat-7.0.21
- Make sure CATALINA_HOME is set to the tomcat directory, for OS X:
- Delete all content in apache-tomcat-7.0.21/webapps
- Delete all content in apache-tomcat-7.0.21/work
- Edit apache-tomcat-7.0.21/conf/server.xml, add the following in the Host element:
Adding Tomcat manager user
- Edit the $CATALINA_HOME/conf/tomcat-users.xml and add a user:
Debugging
- To turn on debugging, start Tomcat with:
- Default debug port is 8000
Labels:
None
