Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 57794 invoked from network); 5 Nov 2010 11:51:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 11:51:30 -0000 Received: (qmail 52759 invoked by uid 500); 5 Nov 2010 11:51:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52468 invoked by uid 500); 5 Nov 2010 11:51:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 52459 invoked by uid 99); 5 Nov 2010 11:51:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 11:51:52 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bw57899@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 11:51:46 +0000 Received: by qyl33 with SMTP id 33so2480634qyl.18 for ; Fri, 05 Nov 2010 04:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=BK0+uIzJosog/j9V7FSaCIHUw4wO82TjbkR/+OhUDLM=; b=ipSXYhIYGlbJjHvz/8hY7tFjJRyqGfjC8IqkKBADyGB9w/PBwq8glvrYBeiP9zYiVC WcrfJKM5+rnPXcLyeZrCJv+qK92LgNAuyHHzhUvZMx9SAcbFpgmZ5olHRq/E8F9Tlweh zFw4ZXApk57KC5t2cLI6+7a0sBAFqSP3hZM0U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=AYYfEkixUlkrNXMs1Wdkg7isbna+2wbr5hJ4h99pKwU7m3Ml+6RTaWDifRcO9BsYH4 lci3UZY9GV0q6qXKkjEIOgPxaihE6BPR1gCdbOjq2yg+3Kylm+NDDc6dLEZFN6RssV2Z Y6c5w4Jy/INTd7KNq2l+GQB9pVrRzTNJlHNJ0= MIME-Version: 1.0 Received: by 10.224.206.137 with SMTP id fu9mr981902qab.40.1288957885285; Fri, 05 Nov 2010 04:51:25 -0700 (PDT) Received: by 10.229.32.68 with HTTP; Fri, 5 Nov 2010 04:51:25 -0700 (PDT) Date: Fri, 5 Nov 2010 22:51:25 +1100 Message-ID: Subject: Any tools to detect tomcat services failure, and start it again automatically? From: Bill Wang To: users@tomcat.apache.org Content-Type: multipart/alternative; boundary=20cf300fada3e2061004944ce4b5 --20cf300fada3e2061004944ce4b5 Content-Type: text/plain; charset=ISO-8859-1 Hi All, I am searching the tool (or script) to be used for my tomcat env, that it can keep running as daemon in background, detect the tomcat services (several versions of tomcat). If it found the services don't run, or have failure, it will start it again automatically. I think I can put the script in cronjob, and run every 5 minutes, or by other way, please recommend. My env is: Solaris 10 with Apache-tomcat 6.0.29 or Jakarta-tomcat 6.0.18 Regards, Bill --20cf300fada3e2061004944ce4b5--