Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 80713 invoked from network); 7 Oct 2004 13:23:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Oct 2004 13:23:15 -0000 Received: (qmail 62643 invoked by uid 500); 7 Oct 2004 13:22:46 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 62536 invoked by uid 500); 7 Oct 2004 13:22:43 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 62486 invoked by uid 99); 7 Oct 2004 13:22:42 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of bryce@berzerker-soft.com designates 66.45.226.248 as permitted sender) Received: from [66.45.226.248] (HELO berzerker-soft.com) (66.45.226.248) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 06:22:40 -0700 Received: from [10.1.2.253] (66-152-19-195.ded.btitelecom.net [66.152.19.195]) by berzerker-soft.com (Postfix) with ESMTP id 6125D84658 for ; Thu, 7 Oct 2004 09:18:12 -0400 (EDT) Message-ID: <41654316.4060305@berzerker-soft.com> Date: Thu, 07 Oct 2004 09:22:30 -0400 From: Bryce Fischer User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: Sample app for procrun. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N There are several ways you can implement them. My favorite is using worker threads and thread pools: http://www-106.ibm.com/developerworks/java/library/j-jtp0730.html None None wrote: > Hey am trying to implement a sample application that runs a loop until > I stop it! Does any one hve a sample class and app to show how to do > this! I tried reading the boostrap class of tomcat but there is to > much code to look just to get around to the proc run stuff! --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org