Java Mailing List Archive

http://www.junlu.com/

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

Re: Tomcat 5 with JSVC

Remy Maucherat

2004-01-27

Replies:

Vitor Buitoni wrote:
> I would like to know what's the advantage of running Tomcat 5 as a
> deamon with jsvc.
> Currently i start tomcat with the default startup script, by putting it
> in the inittab with the respawn option, so when somebody stops tomcat or
> tomcat crashes, tomcat is started again.

The main advantage is if you want to run the HTTP connector, on port 80
(or any priviledged port): you can run Tomcat without root for more
security.
You can also send signals, but it's more a cosmetic thing.

> Acting this way, tomcat "seems" to run like a deamon, but i know that
> actually it's not. Running it with jsvc would make it run really like a
> deamon.
>
> In this case, what is the advantage of running tomcat using jsvc (as a
> deamon) instead of running it with the default startup script (non-deamon)?

--
xxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxx

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