Tomcat start script / Can't find CATALINA_BASE
Stephan Schöffel
schoeffel at fh-bingen.de
Mon Mar 2 11:41:08 UTC 2009
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
The normal user knows the path, though:
webuntisuser at webuntis:~$ echo $CATALINA_BASE
/var/apache-tomcat-5.5.27/conf
webuntisuser at webuntis:~$
webuntisuser at webuntis:~$ sudo echo $CATALINA_BASE
/var/apache-tomcat-5.5.27/conf
webuntisuser at webuntis:~$ sudo bash
root at webuntis:~# echo $CATALINA_BASE
root at webuntis:~#
Any idea, what to do?
--Stephan
More information about the ubuntu-users
mailing list