Don't forget the alternate trick of port(s) redirection. For some it is
simpler. I use jsvc on TAO Linux, a RedHat clone.
Doug
----- Original Message -----
From: "Warren Pace" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, January 10, 2006 9:50 PM
Subject: Re: Re: Apache + Tomcat, Tomcat only handles JSP in localhost
From: Oded Arbel <[EMAIL PROTECTED]>
Date: 2006/01/10 Tue PM 12:46:14 EST
To: users@tomcat.apache.org
CC: Warren Pace <[EMAIL PROTECTED]>
Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost
On Tuesday, 10 ?January 2006 14:31, Warren Pace wrote:
> > The most important reason that I use an Apache frontend for tomcat,
> > which is probably not relevant to the original poster, is that
> > under Unix only root processes can open port 80 (the default HTTP
> > port), and so if tomcat is configured to serve pages on port 80, it
> > must run as root.
> You can use jsvc to run tomcat as a non-priviledged user on port 80.
That is very interesting - I was not aware of that capability of jsvc.
Currently neither of my production operating systems (Mandriva and
RedHat) offer this as a package, but I'll check it out.
I'm running it on OpenSuSE and have previously run it on Debian and Fedora
Core 4. None of these distributions offer jsvc as a package either. The
source code for jsvc is included with the tomcat binaries in the bin
directory. You have to gunzip the file jsvc.tar.gz which will create the
subdirectries containing the source you'll need to compile. You'll then
need to compile jsvc and write your own init.d script. You'll also need
to edit server.xml and change the connector port from 8080 to 80. I'll
send you a copy of my init script you can used as a template if you'd like
but basically it's just /etc/skeleton altered to launc jsvc.
--
Oded
::..
For every minute you are angry, you lose sixty seconds of happiness.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]