tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <>
Subject Re: starting tomcat at system boot
Date Tue, 19 Aug 2008 12:48:09 GMT
Zemian Deng wrote:

> When setting up tomcat during boot startup on a linux/unix, is there more
> advantage using jsrv that comes with Tomcat as describe here:
> VS
> Just a plain shell script that calls ?

With jsvc Tomcat is able to bind to privileged ports (for example 80,
443) and drop root privileges right afterwards.
If you just use the shell scripts, you'd have to run Tomcat as root if
you'd want it to bind to privileged ports[1].


[1] OTOH, making Tomcat *accessible* through a privileged port doesn't
necessarily mean that Tomcat has to *bind* to this port. Another
possibility to achieve this is, for example, to use netfilter or
something to redirect traffic from a privileged port to the
non-privileged port that Tomcat listens on.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message