2011/1/25 Stevo Slavić <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]