tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Ahmann" <>
Subject RE: Tomcat stability issues
Date Wed, 30 Aug 2000 14:52:28 GMT

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

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 Ahmann
Macromedia, Inc.
(612) 840-9544

> Ditching NES as a webserver is arguably a good idea.  (We did over a
> year ago and we haven't looked back.)
> Running Tomcat as your "main web server" for a critical, high-volume,
> public-accessible web-app is probably not a great idea.  (Although,
> Tomcat as the main web server is fine for development or smallish,
> in-house applications.)
> Have you tried using Apache with Tomcat?  We're quite satisfied with
> Apache.
> --- Rajnish Bhaskar <> wrote:
> > Hi all,
> > 	I've been trying to integrate Tomcat with Netscape Enterprise
> > Server (for Netware) for quite some time now, and have come to the
> > conclusion that it's just too hard.  Therefore, we're thinking of
> > ditching NES and using Tomcat as our main web server and for
> > serving all our servlets/JSPs.
> >
> > I've been told that (for static HTML pages) the load on the server is
> >
> > generally fairly low, but the web app that I'm building is an online
> > teaching system and we're anticipating having between 10 (to start
> > with) and maybe 50 users running servlets at once.
> >
> > I'd like to know if Tomcat could cope with this load.
> >
> > Thanks very much in advance,
> > Raj.
> >
> > --------------------------
> > Rajnish Bhaskar
> >,
> > IT Education Unit, University of Glasgow
> >
> > --
> > Thought for the day:
> >     Dictatorship (n): a form of government under which everything
> >     which is not prohibited is compulsory.
> >
> =====
> Mark Harris
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!

View raw message