Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 991 invoked by uid 500); 7 Jun 2001 20:20:25 -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 958 invoked from network); 7 Jun 2001 20:20:24 -0000 Received: from cobra.aginfonet.com (205.233.109.60) by h31.sny.collab.net with SMTP; 7 Jun 2001 20:20:24 -0000 Received: from mbd01.localdomain (hssx-regn-49-115.sasknet.sk.ca [142.165.49.115]) by cobra.aginfonet.com (8.9.3/8.9.3) with ESMTP id OAA28423 for ; Thu, 7 Jun 2001 14:22:24 -0600 (MDT) Received: by MBD01 with Internet Mail Service (5.0.1459.74) id ; Thu, 7 Jun 2001 14:07:17 -0600 Message-ID: From: Brock Barber To: "'tomcat-user@jakarta.apache.org'" Subject: Tomcat dies when window closes Date: Thu, 7 Jun 2001 14:07:17 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1459.74) Content-Type: text/plain X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi all Experienced odd problem with Tomcat shutting down when the window that is used to start it is closed. We have been happily running Apache 1.3.12/Tomcat 3.2.1/SSL on SunOS 5.6 for several months. The machine is located elsewhere so I telnet on to it, su to root and run the startup script using /usr/local/jakarta-tomcat-3.2.1/bin/startup.sh -f /web/sitename/java/conf/server.xml startup.sh and tomcat.sh are the ones included with the binary distribution and were not modified. My understanding is that startup.sh sends a "start" parameter to tomcat.sh which then starts tomcat as a background process. I close the telnet window and the process continues merrily on. Or it used to. A few days ago I restarted Tomcat/Apache to fix a log file problem. Tomcat first, then apache. Started fine, tested fine. When I checked later Tomcat was dead. Repeated the process several times before I figured out that Tomcat was dying when I closed the window I started it in. I was able to fix this by editing tomcat.sh so that "run" also starts it in the background. Anyone have an idea why tomcat.sh might be getting "run" rather than "start" and why is it behaving this was now when it wasn't before? Any thoughts would be appreciatted. thanks brock ****************************************************** Brock Barber Applications Group MBD (McNair Business Development Inc.) Direct: 789-0019 Fax: 789-7630 E-Mail: bbarber@mcnairbd.com www.mcnairbd.com A head for business. ******************************************************