tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kitching Simon <>
Subject RE: Tomcat stability issues
Date Thu, 31 Aug 2000 08:09:16 GMT

> -----Original Message-----
> From:	MikeJ []
> Sent:	Thursday, August 31, 2000 9:58 AM
> To:
> Subject:	Re: Tomcat stability issues
> > Could you elaborate on your comments a bit? I've often heard the
> assertion
> > that there is some advantage to using the Apache JServ adapter to
> connect to
> > Tomcat instead of just serving up directly from Tomcat's built in
> server. I
> > honestly find this puzzling.
> >
> > It seems to me that if you require some functionality that Apache offers
> > (SSL for instance), then indeed you might need Apache. Other than that,
> I'm
> > having a hard time imagining what any sort of advantage might be.
> >
> > I did a big app with JServ, and I also wrote a C++ client to mod_jserv,
> so
> > I'm pretty familiar with how the JServ protocol works. Granted, the
> overhead
> > is minimal, but there is overhead.
> >
> > And aren't we really talking about a 4 tier app vs. 3 tier when using
> > something like JServ which requires an extra net connection?
> >
> > I can see how serving up static files might be faster with Apache, since
> its
> > written in C and very mature. But in theory, it seems to me that going
> > directly to Tomcat instead of shuttling all the data through Apache
> first
> > would eliminate a bit of unnecessary overhead when your app is mostly
> > dynamic.
> >
> > Maybe this is a can of worms, but I would be curious to hear some
> opinions
> > on this from some people out there who might have some perspective on
> this
> > that I'm missing.
> Doug,
>     I completely agree. Unless you need secure pages and authentication, I
> find
> the ajserv->tomcat bridge to be more hassle than it's worth. With the
> 4-tier
> solution, you gain minor points in the performance yield over static
> pages, but
> you lose out on administration overhead and dynamic content generation.
> The
> former is double the pain during the development phase.
> Tomcat developers: will we be seeing SSL soon? I think authentication is
> the
> largest outstanding gap to be filled pertaining to the Servlet
> Specification.
	[Kitching Simon]  
	And I'm in agreement with both of you :-)

	However, there is one other major missing feature in tomcat when on
	As far as I can tell (see my earlier emails) there is no way to run
	on port 80 unless it runs as user "root". Using apache fixes this,
	apache can run on port 80 as non-root user, and pass requests on to
	tomcat running on some non-restricted port. Perhaps for
	sites, it may be possible to set up mappings in routers, etc., to
	around this...

View raw message