The commons-daemon project can help in that area. Specifically, jsvc
can launch as root, capture the ports and then let tomcat run as tomcat.
http://jakarta.apache.org/commons/daemon
--David
Tracy Nelson wrote:
By convention, only root can run services on ports below 1024. If you
reconfigure Tomcat to run on port 8080, it'll work.
---
Tracy Nelson / Nelnet Business Solutions
402 / 617-9449
| -----Original Message-----
| From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 13 September, 2006 13:03
| To: Tomcat Users List
| Subject: service on linux
|
| Fedora 5
| Tomcat 5517
| Sun JDK 1508
|
| Finally I got my linux running with tomcat, but there is a little
| detail, if I run the server as tomcat user, tomcat goes up, but not
| listening in port 80 (su -l tomcat -c /usr/tomcat/bin/startup.sh), now
| if I run as root (./startup.sh) everything works ok.
|
| any clue ?
|
| Regards, Rodrigo
|
|
|
| -------------------------------------------------------------------
| Rodrigo Asensio
| Fuel Management Services
| Gilbarco Veeder Root
| phone: +1 336 547 5023
| email: [EMAIL PROTECTED]
| <mailto:[EMAIL PROTECTED]>
|
|
|
| This message (including any attachments) contains confidential
| and/or proprietary information intended only for the addressee.
| Any unauthorized disclosure, copying, distribution or reliance on
| the contents of this information is strictly prohibited and may
| constitute a violation of law. If you are not the intended
| recipient, please notify the sender immediately by responding to
| this e-mail, and delete the message from your system. If you
| have any questions about this e-mail please notify the sender
| immediately.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]