2011/1/25 Stevo Slavić <ssla...@gmail.com>:
> String tomcatHomePath = System.getenv("CATALINA_HOME");

The above works only when starting Tomcat with .sh/.bat files and only
when CATALINA_BASE does not differ from CATALINA_HOME (see
RUNNING.txt).

The correct alternative would be to use  System.getProperty("catalina.base");


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to