Tomcat start script / Can't find CATALINA_BASE
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@webuntis:~$ echo $CATALINA_BASE
> /var/apache-tomcat-5.5.27/conf
> webuntisuser@webuntis:~$
>
> webuntisuser@webuntis:~$ sudo echo $CATALINA_BASE
> /var/apache-tomcat-5.5.27/conf
>
> webuntisuser@webuntis:~$ sudo bash
> root@webuntis:~# echo $CATALINA_BASE
>
> root@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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|