Hello, ( please forgive my possible mistakes in English ) I'm using Tomcat from a while now and have got some webapps running very well in many tomcat configurations, but... not with Gentoo's inits scripts. I'm using in my code the System.getEnv("CATALINA_HOME") method to retrieve some files on the system. Or when I'm launching Tomcat with the init scripts, the environment variables seems unusable.
(In reply to comment #0) > > I'm using in my code the System.getEnv("CATALINA_HOME") method to retrieve some > files on the system. Wrong in more than one place. First off it's System.getenv(String name) http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html Second your using the wrong function and argument. This works System.getProperty("catalina.home") Closing as invalid. Unless a test case can be provided to prove the above does not work, but that's unlikely.