aspose file tools*
The moose likes Tomcat and the fly likes Running tomcat in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

Running tomcat in linux

abhijeet srivastava
Greenhorn

Joined: Aug 22, 2006
Posts: 26
Hi all!

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

Whats wrong??
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/87084/Tomcat/Running-tomcat-linux

abhijeet srivastava,
Please do not cross-post your questions on the ranch.
Doing so causes confusion and duplication of effort which wastes the time of the folks who are trying to help you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
wood burning stoves
 
subject: Running tomcat in linux
 
Similar Threads
Running tomcat in linux
Running tomcat apache 5.5 on fedora 14 problem
How to install and Run jsf on a Linux machine
Error starting Tomcat in Ubuntu
Running tomcat in linux