-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Léa,

On 11/20/14 1:21 PM, Léa Massiot wrote:
> Thank you for your answers.
> 
> @MarkEggers Thank you very much for sharing.
> 
>> Christopher Schultz wrote There are reasons to use jsvc, but the
>> ability to run as a non-root uses is not one of them.
> 
> What are these reasons according to you (apart from running Tomcat
> as a daemon on Unix which was also one of my goals at the time)?

Several I can think of without spending too much time:

1. (by a large margin) Allows access to ports < 1024
2. Automatic re-start of JVM process if the JVM exits
3. Control JVM process by sending signal to parent process
4. Enable rotation of stdout/stderr files

> Also Excerpt from here: 
> http://tomcat.apache.org/tomcat-7.0-doc/setup.html#Unix_daemon 
> "jsvc has other useful parameters, such as -user which causes it to
> switch to another user after the daemon initialization is complete.
> This allows, for example, running Tomcat as a non privileged user
> while still being able to use privileged ports."

This is just a note about additional features, certainly not the
primary feature of jsvc.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUbkrZAAoJEBzwKT+lPKRYjFAP/195ZdVNNt3h8nsR1/p2N5Lo
72pU7Zc15spYaQo3G7AfbvF/JMX4uAeR5nxHtvegU8YoIz+W8smb4MiipOfqFgn9
CBr/+3hnu9kzsFkjMxj62mT8fPtdM/dYG6Er52aiSrjOCC62wPyOq7I4gf9RV8k/
NmbkQugOrX1ZOyzGaHKSZODZHIGZSErW6jZQ8XC1K7AEjfez5enrAElkJ41h3MAx
02NeCNvs9sub/HMk2PCSSXpV4zGj7sUehc2Q/cNqHnVSh55EnENwJUZqpaP/4t6G
rkNGYeEW31r1YTfTtDtCDTMz9bcVFWcbB8tJBXz+JaYtxI+xmcK9U4FBdKIZLDw5
iF1IVJbAmbL6ANhnMBwlZEtwDtSfnDEpQCsVrTD7p/kbdW/wOnNpWzbJ14+bhBRi
wsK+kiYNk0dqMByu81Yfx1e1ISByXydu+M96CxxJi+zTBwcg4qSEUQke9nfW0HNF
YlgOVxPdHnjXHeid7xaTBjmqpFkwMSxguiaIvn6hO20aUo+jtOrz3YCNWIPC+Aih
Da1LLhNzjVtxparX1cmsh5Xp/KsSe1lRP3AWmBRVe69tpUxHYjtr/ag8a5Mw5YOz
Hd7Uc00irwWy/eewOJpDnVmLvnEhVwCSwJ8KQ4p3SyqLkyFSAlabic7A/4yRed/7
sm+Kwyvimw/b7MjTL2Nr
=pYTG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to