Tomcat start script / Can't find CATALINA_BASE

Matthew Flaschen matthew.flaschen at gatech.edu
Mon Mar 2 12:36:46 UTC 2009


Stephan Schöffel wrote:
> Hi,
> 
> I have a problem here with running tomcat from the start script in 
> /etc/init.d. The root-account somehow does not know the CATALINA_BASE 
> variable i exported in /etc/profile like this:
> 
> 
> CATALINA_BASE="/var/apache-tomcat-5.5.27/conf"
> export CATALINA_BASE

/etc/profile is only read by login shells.  Put it in /etc/bash.bashrc
(since you're using bash).  Also you can do it in one line:

export CATALINA_BASE="/var/apache-tomcat-5.5.27/conf"

Matt Flaschen




More information about the ubuntu-users mailing list