Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 67272 invoked from network); 18 Mar 2010 19:13:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Mar 2010 19:13:42 -0000 Received: (qmail 36898 invoked by uid 500); 18 Mar 2010 19:13:42 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 36739 invoked by uid 500); 18 Mar 2010 19:13:42 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 36731 invoked by uid 99); 18 Mar 2010 19:13:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 19:13:42 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.220.218 as permitted sender) Received: from [209.85.220.218] (HELO mail-fx0-f218.google.com) (209.85.220.218) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 19:13:34 +0000 Received: by fxm10 with SMTP id 10so2567809fxm.10 for ; Thu, 18 Mar 2010 12:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0+VrLZDIBWsXKxOy/2rVqmnsro3ZTEE3JznMJc8w4A4=; b=FuHoDmEdZf1XJXw+/yhd+NjKwDBHExJTe/RVatSESx4OU24dpmIkNmBmJiuCneGHJG F4B6kQIWXQQEHMZdvzKm8AWBIJJ99DlbGB/0l3DAZLX7I3nsPCA+iLHAV4rGG4g5fjJb BvZucdbW/6HBaRcp7f4u46AMkOl8xRq7w/WKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VzxOxfvzb9LubgvcKhPT6VAkRG0UBuJV+M8kOlWLT4ej1ifkLz6u2gjyxlbmYfBKHN n2ejYXArYrxN7/Ia+dp2/5BPz2m7zzle6jdU2lqsjlXspYJ8VF9LlTPORcmCI+mBQMEr fYDRRmiD4ioEejo716Lrq+omWeIpNWpSx6bos= MIME-Version: 1.0 Received: by 10.239.137.197 with SMTP id m5mr1211810hbm.62.1268939592949; Thu, 18 Mar 2010 12:13:12 -0700 (PDT) Date: Thu, 18 Mar 2010 19:13:12 +0000 Message-ID: <25aac9fc1003181213k54706e43g9e066588e357ba75@mail.gmail.com> Subject: [DAEMON] Procrun documentation From: sebb To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 As people may have noticed, I've been trying to update the procrun documentation. There are a few details that need clarifying: - the Start/Stop mode can be jvm, Java or exe. What do these each do? - how should a Java application be structured? I originally thought it was the same as for jsvc, but that does not appear to be the case. JSVC Direct mode requires the definition of the instance methods init(String[]), start(), stop(), destroy(). Procrun by contrast requires static methods that take a (String[]) for both start and stop commands. It does not seem to support an init() method. Does Procrun support Daemon mode? If so, how is it configured? I could not get it to work with the SimpleDaemon example. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org