tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Miguel Seabra <...@multicert.com>
Subject Re: Why and How Tomcat before Apache?
Date Fri, 17 Aug 2001 10:27:05 GMT
On 17 Aug 2001 11:50:22 +0200, Roberto B. wrote:
> I have a Linux/Debian system.
> I want to use Apache as web-server and Tomcat only for JSP file.
> Is it true that it is necessary to make start Tomcat before Apache? Why?..
> and if it is true.. how??

If you include the automatically generated files that tomcat creates in
your apache conf, then you have to start tomcat, then apache. The
shutdown order is irrelevant.

If you do what's best for you (learn the configuration and do not use
the automatically generated confs) then you just include a static file
in your apache configuration, and will not need to restart apache when
you restart tomcat.

CAVEAT: tomcat 3.2.x has a bug in mod_jk: it is not ready for the
disappearence of workers. as a result, if you restart tomcat, a new tcp
connection will be done, but the old one will still be there and calls
for servlets will cause an internal server error, untill the tcp
connection is discarded due to a timeout, or something. As a result,
even though you shouldn't need, you have to restart apache if you
restart tomcat. I don't know about the 3.3.x or 4.x series.

Hugs, rms

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?

Mime
View raw message