Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 75383 invoked from network); 18 Nov 2010 11:09:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 11:09:53 -0000 Received: (qmail 42341 invoked by uid 500); 18 Nov 2010 11:10:23 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 41920 invoked by uid 500); 18 Nov 2010 11:10:23 -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 41912 invoked by uid 99); 18 Nov 2010 11:10:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 11:10:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=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 pieter.breed@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 11:10:16 +0000 Received: by bwz14 with SMTP id 14so2609375bwz.30 for ; Thu, 18 Nov 2010 03:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=2qM/CkDEYCkSL/FFFz8HE88DTmitERZT7H95MpjMc6s=; b=V3mQgYvW116QJpgxa40h3h+3jQ5lOFr3/fsjoZWdGQA7/a5B1z6hNdoPlZCuyZ+2MC 32+WdP7QOwSWGQN8IEAo7do9jOQIyf0RyUeKBcsTZjXM2X0V/6pn2OkDsEBCvOszxtpW RQr2HS0vRL2JHOKhr7ietCyswY1DwjszpMOVY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Mk5yG03cikj98d2DE3TKfQ1FtfB4WTeCXBajSPVoFGc2t+0kf9cC6GPsRKd/wVqcas o6i+yWuyLV/i2JKLogb9HaQZNcHmDBiaPF5ugs4NuwNS+rGiANYVJ7bKb1m+CTDM5tQl /0Hho6OkGnFBTqMoqi84NOjce2ki6K2D8XSXo= Received: by 10.204.62.3 with SMTP id v3mr445168bkh.99.1290078594587; Thu, 18 Nov 2010 03:09:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.162.130 with HTTP; Thu, 18 Nov 2010 03:09:34 -0800 (PST) From: "pieter.breed@gmail.com" Date: Thu, 18 Nov 2010 13:09:34 +0200 Message-ID: Subject: [daemon] Cannot find daemon loader To: user@commons.apache.org Content-Type: multipart/alternative; boundary=001636c5b01e5cdb06049551d4ae --001636c5b01e5cdb06049551d4ae Content-Type: text/plain; charset=ISO-8859-1 I have an 'uber' jar which contains the jars for all dependencies. On my server the following command works fine: sudo jsvc -home /usr/lib/jvm/java-6-openjdk -cp /avalanche/avalanche-1.0-SNAPSHOT-\(2010-11-18_12\:33\:43\)-jar-with-dependencies.jar -nodetach -debug -verbose -pidfile /var/run/avalanche.pid avalanche.service But the same command on my dev box does not work. It fails with the following messages: ... [Loaded java.io.IOException from shared objects file] [Loaded java.util.zip.ZipException from /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar] [Loaded java.security.PrivilegedActionException from shared objects file] [Loaded java.io.FileNotFoundException from shared objects file] Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader java_init failed Service exit with a return value of 1 I have the /avalanche folder to be: sudo chmod a+r /avalanche/ but it doesn't change anything. Does anybody know how to fix this kind of problem? --001636c5b01e5cdb06049551d4ae--