• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

No is possible deploy wars and run TomCat as user tomcat and no as ROOT ?

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

when I run [/usr/local/jakarta/tomcat/bin/./startup.sh;] as ROOT {catalina.out} return:

( OK!, ALL FINE!! )

but when I run [/usr/local/jakarta/tomcat/bin/./startup.sh;] as tomcat {catalina.out} return:




Some idea to fixed this?

┬┐or no is possible?

THANKS
 
Bartender
Posts: 20838
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's not really enough information to tell anything, but one problem I often have suggests itself based on the topic title.

If you have been starting Tomcat as ROOT, Tomcat has created a number of files owned by ROOT. If you then attempt to start as user "tomcat" - or any other non-root user, then the Tomcat startup will fail because it's attempting to create and/or access files that user "tomcat" is not permitted to access or change.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!