tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mika Goeckel" <m...@stepstone.de>
Subject Re: Tomcat on Linux
Date Tue, 20 Nov 2001 19:24:26 GMT
Hi Sergey,

you can use "sudo -u tomcat /path-to-the-dist-dir/bin/startup.sh" to start
the instance up as another user. However, this restricts the ports to above
1024, because other than apache, tomcat does not have the feature to start
up as root, gain the socket for port 80 and change the user afterwards.

What sort of linux do you use?

On redhat, you could write a sh script, put it into /etc/init.d and link
from the appropriate runlevel /etc/rc.d/rc3.d to have it called.

Don't forget to set the classpath and path appropriate.

Cheers, Mika

----- Original Message -----
From: "Sergey Snovsky" <serge012374@provide.net>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, November 20, 2001 7:56 PM
Subject: Tomcat on Linux


Hello!

I'd like to ask some advice on how to best run Tomcat on Linux -- how can I
make Tomcat start
at the init time (possibly using chkconfig or something similar) and how do
I make Tomkat run as the Tomcat user/group -- what files under Tomcat
distribution should be owned by whom?

Thank you very much for any help!

Sergey



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message