Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 51547 invoked by uid 500); 17 Aug 2001 10:55:46 -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 51538 invoked from network); 17 Aug 2001 10:55:44 -0000 Received: from unknown (HELO ipermedianet.com) (213.188.200.18) by h31.sny.collab.net with SMTP; 17 Aug 2001 10:55:44 -0000 Received: from vega (213.188.200.25) by ipermedianet.com with SMTP (Eudora Internet Mail Server 2.2.2); Fri, 17 Aug 2001 13:02:58 +0200 Message-ID: <012c01c1270b$6a58e9e0$19c8bcd5@vega> From: "Roberto B." To: References: <010801c12702$090f2590$19c8bcd5@vega> <000901c12707$59fa3a30$0a3ea8c0@ev.co.yu> Subject: Re: Why and How Tomcat before Apache? Date: Fri, 17 Aug 2001 12:57:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I use Tomcat 4.. where and which are the configuration file ? I use the the command startup.sh in the tomacat_home dir. to start Tomcat 4 Do I have to insert this command in rc* ? Roberto. ----- Original Message ----- From: "Nikola Milutinovic" To: Cc: Sent: Friday, August 17, 2001 12:28 PM Subject: Re: Why and How Tomcat before Apache? > > I have a Linux/Debian system. > > I want to use Apache as web-server and Tomcat only for JSP file. > > You can use it for servlets, too. :-) > > > Is it true that it is necessary to make start Tomcat before Apache? Why?.. > > 1. Tomcat usually builds automatic configuration for including in Apache's httpd.conf. If nothing changed from the last time, then Apache can use the old generated file. Still it should make any admin feel uneasy. > > 2. Apache connects to Tomcat via plugin, mod_jserv (my case - Digital UNIX), mod_jk or mod_webapp. It is reasonable to assume that the other end should be up and running, when Apache loads that module. > > > and if it is true.. how?? > > You have startup scripts which bring up most, if not all, of your daemons. Place Tomcat's startup commands there. On our Digital UNIX it is a collection of stratup/shutdown scripts in /sbin/init.d/ On Linux it should be /etc/rc* or something similar. > > Nix. >