-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 11/20/14 4:09 PM, Mark Eggers wrote: > > Chris, > > On 11/20/2014 12:11 PM, Christopher Schultz wrote: >> 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 > > This is not required. Use either su -c or runuser -c (if using > SELinux) to access ports < 1024. Run as root? No thanks. Perhaps SELinux will allow a non-root user to bind to low ports, but "normal" Linux does not. >> 2. Automatic re-start of JVM process if the JVM exits > > This is nice, especially for misbehaving web applications that > cannot (or will not) be fixed. True. But auto-restart is sometimes better than getting a page. ;) >> 3. Control JVM process by sending signal to parent process > > This is also nice, but reasonably written init scripts will do most > of what is needed. +1 >> 4. Enable rotation of stdout/stderr files > > Without restarting, this is nice. There are several hacks you can > do with logrotate that are useful, but they all have drawbacks. +1 - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUb3azAAoJEBzwKT+lPKRYw4oP/joQeMsxqkt7C5DBZnc1+cAE uS4EKgN0Zua/BiJ+EwgUFYyH4wmZWz6piChdF9XUAszvKCpLK4PvW/ejcxq4sYh5 4W8tn6cnl6dZNXi8M/+fCRC+7BmBn6trlYgB38kAKrl2+WuhTycxS3hymiM5WduM hhtlfY3C83IlvvZx0aTfjZLlRDzTA0v4w0/m1YKBtRMdOVpqtCZ78xXVyrAi8PFb 01XBPfVE6c9C5i9MIhgkB2ZykGnCOWOc4nEIS5oDS9n1tjrbOmLzwS4IvGIMPMDY dXITCCf0byayMCJTYuEq2N5xIvmf0KYIvbaZ1EkjcoGWWT/8ZMOpxuHPlr1bhoXm 1ian4IxCX1KTMjONHcn18zEjkDspZVej/T3jfzU5Dkzy3C6jTHqQAMgco0tj6eg/ apCeouOMjMQLTO0rsBrjEHjs3PEJTdpIIPKZWJXwdIZqruObNZeagZy17/+P1Bw4 zbYtfNw8pOQDlELdFCJXXjRLS1GqsopNZn/LFfeRwXAwSniydiDMB34IATyj3/fB mlcoCaXvl2ERUOvQmhRbS17JKaZx3NI8dW3BrjYVIPlrlmCtV28gTqHeYRTUeIdN IUMUN9HVA4ludtAJW5i0Oy5/qE2GqZUBMQJ4/xttL33+zDiCW1xoR9XzTHnC4KzS xeTab+/gvO/QeBZPoOfk =1V0W -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org