File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Install under Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Install under Linux" Watch "Tomcat Install under Linux" New topic

Tomcat Install under Linux

Douggie Fox

Joined: Jun 14, 2001
Posts: 19

I'm having some problems installing Tomcat under Linux. I think the main issue is to do with permissions but I'm struggling to find any consistent advice.

I have installed tomcat and if I run as myself I get error messages relating to "catalina.out: permission denied". If I login as su, starts tomcat properly. This leads me to a number of questions:

What's the advice regarding which "user" should run tomcat? I've read that the user "nobody" should be used? If that is the case, is there any advice on how to do this? Should the permissions on the tomcat install directory be changed? Any ideas how to do this?


Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

at the very least, you should be starting Tomcat as the same user that owns the tomcat directories.

Who owns them, and who are you starting it as ?
Vijay Vaddem
Ranch Hand

Joined: Feb 13, 2004
Posts: 243

Did u tried to change the owner (chown) for the tomcat installation folder???
I agree. Here's the link:
subject: Tomcat Install under Linux
It's not a secret anymore!