Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

up vote 16 down vote accepted

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.

share|improve this answer
1  
Thank you! I have scoured pages upon pages... –  Mr. Polywhirl May 21 '13 at 1:37
add comment

I have ubuntu v10. And I have tomcat v6 installed at which is at /usr/lib/tomcat6/...

Answer: In my system, both variables are stored in /etc/init.d/tomcat6

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.