One issue I've had with using an Apache front-end to Tomcat 4 and 5 is
having to restart Apache if I need to restart Tomcat. So, if I have Apache
2 w/ mod_jk2 connected to Tomcat 5 and I deploy a new webapp using the
Tomcat Manager web interface I have to restart Tomcat after using the
Tomcat Administration web interface to configure the data source for the
newly deployed web app. Once I restart Tomcat, I can't connect via the
Apache front-end until I bounce Apache. Then all is well.
Using Apache or IIS as a front end is attractive since I can "hide" the
backend Tomcat container(s) I connect to from the user using the web app.
I can control which container gets used through the mod_jk properties file.
I was really bummed when I learned I had to bounce the web server after
bouncnig Tomcat since the mod_jk (or mod_jk2) connector ceased to properly
connect without boucing the web server.
Peace...
Tom
Evgeny Gesin
<[EMAIL PROTECTED]
o.com> To
Tomcat Users List
04/09/2004 11:26 <[EMAIL PROTECTED]>
AM cc
Subject
Please respond to RE: Yoav -->RE: TC 5 production use
"Tomcat Users
List"
<[EMAIL PROTECTED]
rta.apache.org>
Hi,
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> Again, that's not what I said. You just have to
> evaluate your
> requirements carefully. Various factors like the
> content mix (%static
> vs. %dynamic), scalability requirements, SSL load,
> and others all figure
> into this decision.
Apache is web server, but Tomcat is not, while
technically Tomcat can serve html and other docs.
Apache also provides more configuration options for
scalability, security, etc.
> For better or worse, the connectors between Apache
> and Tomcat not always easy to set up. It's by far
> the most common question/problem reported
> on this list.
It is not a problem with JK connector, I don't use
JK2.
> But part of the reason it's such a common topic is
> because more people are using it than should be.
> Not coincidentally, many of these people are ones
> who read somewhere once that tomcat is not
> a production-quality HTTP server, or that you have
> to put Apache in front for production installations,
> and didn't bother to verify/confirm/benchmark this
> assertion before following it blindly.
Those arguments sound as rumour, and of course should
not be used for serious decisions. At least Tomcat
4.1.29 is a good production version.
Yoav, you provide a great contribution to this list,
thank you very much!
-- Evgeny
Javadesk
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]