Andrew McDonough

Please note: This page is imported from my wiki, which hasn't been updated in over 10 years. Some of the formatting was lost during the import. I'll try to get around to fixing it someday.

Tomcat

web.xml

When a webapp is loaded, $CATALINAHOME/conf/web.xml is parsed, then <APPHOME>/WEB-INF.xml. The shared version of web.xml should contain directives for all webapps.

Environment Variables

$CATALINA_HOME hold the path to the root of the Tomcat installation

Installing Under Windows

Tomcat can either be installed as a service, or can be run as a daemon. It should always be run using the startup script in bin/

Users

Users are configured using conf/tomcat-user.xml


Andrew McDonough

Andrew McDonough is a consultant CTO and software developer, currently based between Berlin and London.

Follow Andrew on Twitter or Connect on LinkedIn