2011/3/24 Kevin <[email protected]>: > Hi, I'm pulling my hair trying to install Tomcat 7.0.11 on my machine. > > Here's my info at a glance: > OS: Ubuntu 10.10 > Tomcat version: 7.0.11 > Tomcat main folder path: /usr/local/apache-tomcat-7.0.11/ > JDK version (via the java -version command) : 1.6.0.24 > JDK location: /usr/lib/jvm/java-6-sun > > I'm running in to a problem trying to run Tomcat as a daemon via jsvc. > Before I installed Tomcat I set $JAVA_HOME in: > /etc/environment > to: > /usr/lib/jvm/java-6-sun (logged out then back in, then used $echo > $JAVA_HOME to verify it was set) >
1) Are you able to start Tomcat without jsvc with that JAVA_HOME? ./bin/catalina.sh start 2) Enable debug logging in jsvc: add "-debug" to the command line http://commons.apache.org/daemon/jsvc.html That will print what JRE it actually tries to use. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
