[lug] tomcat5.5 as daemon on FC4

George Sexton gsexton at mhsoftware.com
Sat Nov 26 14:17:50 MST 2005


Apache is OK. Mod_jk2 is deprecated, so you should be working on switching
over to (or back to) mod_jk.

For our hosted system, we are running about 70 virtual hosts on one machine.
The additional configuration overhead of setting the virtual hosts up in
Tomcat, and in Apache would just be a killer.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

> -----Original Message-----
> From: lug-bounces at lug.boulder.co.us 
> [mailto:lug-bounces at lug.boulder.co.us] On Behalf Of Hugh M. Brown
> Sent: Saturday, November 26, 2005 1:26 PM
> To: Boulder (Colorado) Linux Users Group -- General Mailing List
> Subject: RE: [lug] tomcat5.5 as daemon on FC4
> 
> On Sat, 2005-11-26 at 11:41 -0700, George Sexton wrote:
> > 
> > > The redhat scripts are just a glorified wrapper for su.  
> With su, you
> > > won't be able to bind to any <1024 port numbers.  So, if  
> you aren't
> > > planning on running tomcat on port 80 or 443, then you 
> can just su -
> > > tomcat -c /tomcat/startup.sh
> > > 
> > > Otherwise, you'll need jsvc which can be used to bind to the 
> > > low number
> > > ports and then drop privileges
> > > 
> > 
> > The other approach is to run tomcat on the high ports, and 
> then use an
> > IPTABLES rule to redirect the requests from port 80 to the 
> correct port.
> > 
> > I do this and it works very well.
> 
> another approach is to use apache as a front end, a jk2 connector, and
> tomcat.
> 
> Hugh
> 
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 
> 




More information about the LUG mailing list