Search code examples
tomcatconfigurationrepositorydebiantomcat8

Missing Tomcat8 conf directory


I've just installed Tomcat8 version 8.0.24-1 from Debian 8 repository by aptitude install tomcat8. I tried to play around with Tomcat, starting and stopping it. When I tried to shut it down by running ./bin/shutdown.sh, I noticed that shutdown operation fails - it complains that conf directory is missing. I checked it and that is right - indeed it is missing!

Why?

I downloaded Tomcat8 from official Tomacat website to compare content of both directories - from the Debian's repo and from Tomcat's website. It turned out that directory from Tomcat's website is complete and contains conf directory.

Why is that? Why package from Debian's repo doesn't contain conf directory and bunch of configuration files?

BTW: neither tomcat8-examples nor tomcat8-admin packages contain conf directory.


Solution

  • /usr/share/tomcat8 contains the application.

    All the variable parts (conf, logs, webapps, etc.) are normally in /var/lib/tomcat8