Tomcat start script / Can't find CATALINA_BASE

Stephan Schöffel schoeffel at fh-bingen.de
Mon Mar 2 11:46:24 UTC 2009


Stephan Schöffel schrieb:
> 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
>
>
>   
The ../conf version of the path was only a try, but it wont wokr the 
other way (ie the path without /conf) either.





More information about the ubuntu-users mailing list