Java Mailing List Archive

http://www.junlu.com/

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

Re: running tomcat5 as a user other than root

Bill Barker

2004-01-12

Replies:


"QM" <qm300@(protected)
news:20040113020238.GA13379@(protected)...
> : 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)
>

Actually, it is Commons daemon, and you will find the source tarball in
$CATALINA_HOME/bin. The instructions are at:
http://jakarta.apache.org/commons/daemon/jsvc.html.


> 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.