Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 78808 invoked by uid 500); 17 Aug 2001 10:25:44 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 78801 invoked from network); 17 Aug 2001 10:25:43 -0000 Received: from mail0.sibs.pt (195.138.0.101) by h31.sny.collab.net with SMTP; 17 Aug 2001 10:25:43 -0000 Received: (qmail 11839 invoked from network); 17 Aug 2001 10:22:32 -0000 Received: from unknown (HELO greymalkin) (195.138.0.90) by mail0.sibs.pt with SMTP; 17 Aug 2001 10:22:32 -0000 Subject: Re: Why and How Tomcat before Apache? From: Rui Miguel Seabra To: tomcat-user@jakarta.apache.org In-Reply-To: <010801c12702$090f2590$19c8bcd5@vega> References: <010801c12702$090f2590$19c8bcd5@vega> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xIDUFErhhRCtvOgUGS5t" X-Mailer: Evolution/0.12.99 (Preview Release) Date: 17 Aug 2001 11:27:05 +0100 Message-Id: <998044026.1827.16.camel@greymalkin> Mime-Version: 1.0 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --=-xIDUFErhhRCtvOgUGS5t Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=20 + 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...? --=-xIDUFErhhRCtvOgUGS5t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA7fPF5o+C50no0+t4RAvvjAJ0aB6ZTGT+noCpjgFsEv374VgcDqACeO84T 4nuUBZjueiGhLvJF5RElicU= =DyEq -----END PGP SIGNATURE----- --=-xIDUFErhhRCtvOgUGS5t--