I have Fedora 6 and apache-tomcat-5.5.25 installed in /usr/local. and jdk1.5.0_09 in same /usr/local. I have set jdk path in etc/profile and is showing correctly. I have set JAVA_HOME as /usr/local/jdk1.5.0_09.
but when I am starting tomcat by command- su - tomcat -c /usr/local/apache-tomcat-5.5.25/bin/startup.sh
it is showing following error- Using CATALINA_BASE: /usr/local/apache-tomcat-5.5.25 Using CATALINA_HOME: /usr/local/apache-tomcat-5.5.25 Using CATALINA_TMPDIR: /usr/local/apache-tomcat-5.5.25/temp Using JRE_HOME: /usr/local/jdk1.5.0_09 touch: cannot touch `/usr/local/apache-tomcat-5.5.25/logs/catalina.out': Permission denied /usr/local/apache-tomcat-5.5.25/bin/catalina.sh: line 273: /usr/local/apache-tomcat-5.5.25/logs/catalina.out: Permission denied