Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Install under Linux

 
Douggie Fox
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 startup.sh as myself I get error messages relating to "catalina.out: permission denied". If I login as su, startup.sh 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?

TIA

Paul
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Did u tried to change the owner (chown) for the tomcat installation folder???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic