Tomcat7 – Setting CATALINA_HOME in Debian/Ubuntu

configurationtomcat7

Where is tomcat7's CATALINA_HOME in Debian/Ubuntu, and more importantly how did you find it?

I'm OK with Debian rearranging default software installations, but we must be able to find out where basic resources have been moved. Is there any easy-to-find README or config file in the tomcat7 installation that has this vital info?

Best Answer

It is under /usr/share/tomcat7/.

One way to find the location is to look into the service startup script /etc/init.d/tomcat7. You will find these lines in it:

NAME=tomcat7
...
CATALINA_HOME=/usr/share/$NAME
Related Question