Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94A61D761 for ; Thu, 27 Sep 2012 20:47:12 +0000 (UTC) Received: (qmail 64604 invoked by uid 500); 27 Sep 2012 20:47:11 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 64490 invoked by uid 500); 27 Sep 2012 20:47:11 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 64479 invoked by uid 99); 27 Sep 2012 20:47:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 20:47:11 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FROM_LOCAL_NOVOWEL,FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jvsrvcs@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-yx0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 20:47:04 +0000 Received: by yenm11 with SMTP id m11so759210yen.30 for ; Thu, 27 Sep 2012 13:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7ddQq2+tUHhx7zMbSm1kUQpTaJUaxgO0d+rQ6hZOJ5o=; b=WAjJGB57A36bN93Ijho1Lc9o0AUb1MBSPbUeb030QTW5xTk1rzjuga3/vTErO6CB8V Gib9f3nbTut/UrzStc0pTHadzEkeY6e8P4RtTK+r6hFI1hijol258lyhPNHhXCGCMBRT HJqjzTaaPdeCC1X6n8onTnWQUz2lyckQ71DNq9D5S4n68+2Wl3VwY/mMO3QpQg/4EVZv /A3HrjPMa4aYQYb2D1H5AJYZCWDPglejGvepzlSVE8Bx/ZTnZiIwIiOLv5gfeugJFuMI JXacOpDt1ZMw1tMe2H4cAvrpLq3PYaUG99P5Geg23svFONksEu3/hSIWsiMzlFR9jHK6 Mvxw== MIME-Version: 1.0 Received: by 10.236.92.6 with SMTP id i6mr6044741yhf.40.1348778803888; Thu, 27 Sep 2012 13:46:43 -0700 (PDT) Received: by 10.236.95.141 with HTTP; Thu, 27 Sep 2012 13:46:43 -0700 (PDT) Date: Thu, 27 Sep 2012 14:46:43 -0600 Message-ID: Subject: [daemon] - need working example of 'Engine' as referenced in the wiki From: Jehova Witness To: user@commons.apache.org Content-Type: multipart/alternative; boundary=20cf3010e3157c830c04cab509fb X-Virus-Checked: Checked by ClamAV on apache.org --20cf3010e3157c830c04cab509fb Content-Type: text/plain; charset=ISO-8859-1 Is there an example of the 'Engine' object as referenced in the commons-daemon wiki? I am a little confused as to what is needed in this class and what is taken care of by the launcher. Also the launcher will run the java method as a service, but it does not install it as a service. I want to install a method/jar to as a windows service and then start it. Is there an example on how to install a service from pure Java code (even if this means calling a system/platform binary to do it?) thanks J.V. --20cf3010e3157c830c04cab509fb--