Just to add my two cents to this -- you can use jsvc from the commons-daemon project to start Tomcat with root long enough to get port 80 and then drop root for normal run.
Running Apache in front of Tomcat adds an extra layer of complexity and more processing. Take a look at what you need and if the extra layer is really worth it before putting up Apache in front of Tomcat. For a site that's mostly dynamic and lots of decision making, just use Tomcat w/ jsvc and drop Apache altogether. --David Lutz Zetzsche wrote: >Hi Tomislav, > >Am Sonntag, 15. Mai 2005 16:10 schrieb t.n.a.: > > >>Lutz Zetzsche wrote: >> >> >>>As regards performance, running Apache in front of Tomcat is not >>>preferable. A standalone Tomcat is faster than a Tomcat behind an >>>Apache. >>> >>> >>I'm not speaking from my own experiance, but I've done some reading >>some time ago and the best practice I've found is to have apache >>serve static content because it's faster and comes with a whole lot >>of modules and have Tomcat serve the dynamic content - don't know if >>we're talking about the same thing. >> >> > >Well, what I mean is that Tomcat can serve dynamic content faster if it >runs standalone so that the requests are directly handled and the pages >are directly served by Tomcat. > >Also, the gap between Tomcat and Apache is closing as regards the >performance in serving static content. > >Here are a few pros and cons for the Apache-Tomcat combination: > > http://jakarta.apache.org/tomcat/faq/connectors.html#integrate > >My personal point of view is that I would always try to avoid to run a >Tomcat behind an Apache, as this can sometimes significantly impair the >performance when serving dynamic content from Tomcat. > > >Best wishes > >Lutz > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > -- ======================================= David Smith Network Operations Supervisor Department of Entomology College of Agriculture & Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
