Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: running tomcat5 as a user other than root

QM

2004-01-12

Replies:

: I have tried doing many things in my init scripts like a "su -c
: tomcat $TOMCAT_HOME/bin/startup.sh" but I have been unsuccessful.

Without error messages, log excerpts, or descriptions of what happens,
I'm flying blind here... but here's a shot:

To start Tomcat as a nonroot user, some people use jsvc:

 http://jakarta.apache.org
 (I forget the exact page, but I believe
  it's in the Commons collection)

I use Erni, but then again, I'm a little biased: ;)

 http://www.brandxdev.net/erni/index.site

I'm sure there are other ways, including 'su -c'.

Perhaps you've run into a permissions problem...?

-QM

--

software -- http://www.brandxdev.net (C++ / Java / SSL)
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.