From the course: Learning Apache Tomcat

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Tomcat config files overview

Tomcat config files overview - Tomcat Tutorial

From the course: Learning Apache Tomcat

Start my 1-month free trial

Tomcat config files overview

- Let's take a look at some of the Config Files that you'll need to work with when using Tomcat. There's a GUI based config tool that's built into Tomcat that can be enabled, but I think it's better to understand what's happening in these files before we start working with the GUI. This also means that you can check your Config changes into source control and manage your Tomcat machine with a tool like Puppet. For our installation, the main web XML is located in etc tomcat web dot XML. This is the main web app config for our entire Tomcat instance. If you look at the default file, you might notice this very large warning message. This means that the server that applications themselves will need their own web XML files packaged together with their servlet byte code. The other thing to pay attention to is that the directory for that config within the individuals servlets, is slash web dash inf. I point this out because it's not intuitive, and it's easy to get confused about where that…

Contents