On Thu, 11 Jan 2007, Justin Erenkrantz wrote:

> On 1/10/07, Al Hopper <[EMAIL PROTECTED]> wrote:
> > Given a choice, which version of Tomcat would you recommend?
> >
> > We have a commercial application, based on Tomcat, that locks up about
> > every 6 weeks or so.  The only clue I've seen, is that it fails after we
> > log the number of bytes read on the socket and see a value of -1 (minus
> > one).  And we've been unable to duplicate the condition on the development
> > systems.
>
> My reading of this makes it sound like Tomcat is directly serving the
> users rather than having it behind an Apache HTTP Server instance.

Yes - that's exactly right.  The site processes XML based requests
delivered over HTTP.  The small amount of HTML static content is easily
delivered programatically.

> That's generally a poor idea.

The first release was in in the Tomcat 4.1 days.  It would have been nice
to know that it was a poor idea back then!

> On issues.apache.org (which runs our JIRA and Confluence instances),
> we use Apache Tomcat 5.5.20 fronted by Apache HTTP Server 2.2.x.  We
> do not expose Tomcat directly to the outside world, but instead use
> mod_proxy_ajp (new in 2.2) to route requests to Tomcat.   I would not
> use anything less than Tomcat 5.5.20 as we identified a number of
> flaws in Tomcat during our own deployment of Tomcat that we got
> resolved.
>
> James has a good description here:
>
> http://www.jmcp.homeunix.com/roller/page/jmcp?entry=more_on_infrastructure_apache_tomcat
>
> FWIW, mod_proxy_ajp is the result of the Tomcat and HTTP Server guys
> talking to each other (at last) and trying to replace the awful mod_jk
> situation.  The fact that it's bundled out of the box is a very good
> thing, IMO.  But, it's also much more tested, cleaner, and scalable
> solution than mod_jk ever was.

Thanks a bunch Justin for this complete and incitefull response.

Al Hopper  Logical Approach Inc, Plano, TX.  [EMAIL PROTECTED]
           Voice: 972.379.2133 Fax: 972.379.2134  Timezone: US CDT
OpenSolaris.Org Community Advisory Board (CAB) Member - Apr 2005
             OpenSolaris Governing Board (OGB) Member - Feb 2006
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to