Ubuntu – Where is catalina_base and catalina_home located for tomcat6

tomcattomcat6

I recently installed tomcat6 with apt-get and have got it up and running. Ubuntu doesnt set the $CATALINA_BASE and $CATALINA_HOME environment variables during the install. How can I locate these directories, so I can manually set them?

Best Answer

Both are stored and can be set in /etc/default/tomcat6. By default, CATALINA_HOME is /usr/share/tomcat6, and CATALINA_BASE is /var/lib/tomcat6.

Related Question