Java Mailing List Archive

http://www.junlu.com/

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

RE: running tomcat5 as a user other than root

Bruno Melloni

2004-01-13


If you are running tomcat at a normal high port (like the default 8080) there is nothing special to do... just install the JDK in the user home directory, modify your .profile so that you have the right paths and environment variables available, and then install tomcat normally.

If you are trying to run tomcat at port 80 with a non-root id, good luck... I know it is possible and has something to do with chroot, but I have not tried it. I think I saw some docs for this on the tomcat site.

-----Original Message-----
From: ext pablo garaitonandia [mailto:pablo@(protected)]
Sent: Monday, January 12, 2004 6:42 PM
To: Tomcat List
Subject: running tomcat5 as a user other than root


Hi guys,
  I am trying to run tomcat 5 as any user other than root on my sun box
so that I can configure mod_jk2 using unix sockets rather than channel
sockets.
(reference   http://www.cymulacrum.net/tomcat/tomcat_mod_jk2.html ).

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. I
know it is probably something stupid or simple that I am just missing ,
but I am just not seeing it.  If any of you know how to do this and
would like to share how , I would greatly appreciate it.

-Pablo


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


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