Search code examples
tomcatconfiguration-files

Purpose of the Tomcat conf folder


This is just for my own confirmation really.

Is the <CATALINA_HOME>/conf folder in Tomcat for configuring Tomcat itself, rather than configuring application-specific settings?

I assume application-specific config files could be put into this folder if I wanted but it's not a good idea partly because it's the wrong place and they wouldn't appear on the classpath, thus meaning that the files wouldn't be accessible using getResourceAsStream().

Is that a good summary of what the folder is and isn't for?


Solution

  • Ok, I'm pretty sure this is correct:

    Configuration files and related DTDs. The most important file in here is server.xml. It is the main configuration file for the container.