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 C9CC3F6E3 for ; Mon, 29 Apr 2013 16:11:24 +0000 (UTC) Received: (qmail 53405 invoked by uid 500); 29 Apr 2013 16:11:23 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 53299 invoked by uid 500); 29 Apr 2013 16:11: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 53290 invoked by uid 99); 29 Apr 2013 16:11:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 16:11:23 +0000 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of johnboyer99@gmail.com) Received: from [50.87.16.10] (HELO oproxy12-pub.bluehost.com) (50.87.16.10) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 29 Apr 2013 16:11:15 +0000 Received: (qmail 26681 invoked by uid 0); 29 Apr 2013 16:10:32 -0000 Received: from unknown (HELO box769.bluehost.com) (66.147.244.69) by oproxy12.bluehost.com with SMTP; 29 Apr 2013 16:10:32 -0000 Received: from [67.168.160.251] (port=45283 helo=[10.0.1.2]) by box769.bluehost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.80) (envelope-from ) id 1UWqeu-0005sm-Mh for user@commons.apache.org; Mon, 29 Apr 2013 10:10:32 -0600 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: [daemon] JSVC re-exec requires execution with an absolute or relative path From: John Boyer In-Reply-To: <6D3C6E5C-B099-4465-A48E-A8D39CD7406F@gmail.com> Date: Mon, 29 Apr 2013 09:10:27 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <963F31F3-7002-4A6D-B03F-2802D7EAFF09@gmail.com> <517DFA50.9060606@apache.org> <6D3C6E5C-B099-4465-A48E-A8D39CD7406F@gmail.com> To: "Commons Users List" X-Mailer: Apple Mail (2.1503) X-Identified-User: {1185:box769.bluehost.com:rodaxsof:rodaxsoft.com} {sentby:smtp auth 67.168.160.251 authed with john@rodaxsoft.com} X-Virus-Checked: Checked by ClamAV on apache.org UPDATE: Unfortunately, using the absolute and relative classpaths = results in the same error. We haven't been able to get this to work on UNIX or Mac OS X. I think = we'll need to look at other alternatives such as the Java Service = Wrapper. UNIX Error: "JSVC re-exec requires execution with an absolute or = relative path" Mac OS X: "Cannot find daemon loader = org/apache/commons/daemon/support/DaemonLoader" Regards, John On Apr 29, 2013, at 8:46 AM, John Boyer wrote: > Hi TM: >=20 > Thanks, I will try this. In any case, I believe if the log message = mentioned the "classpath" explicitly it would have saved me a lot of = time. It's unclear what the real object of the sentence is or what path = it's referring to. Just spitting out the classpath in the log message = would've given me a clue as to what it was complaining about. >=20 > JSVC re-exec requires execution with an absolute or relative path >=20 > Thanks again, >=20 > John=20 >=20 > On Apr 28, 2013, at 9:42 PM, Mladen Turk wrote: >=20 >> On 04/28/2013 11:05 PM, John Boyer wrote: >>> Hello: >>>=20 >>> I'm trying to run jsvc on Ubuntu Linux (10.04.4). I'm getting a = re-exec path error. I've sunk a lot of hours into this. I'm beginning to = think I should have used the Java Service Wrapper Community Edition = instead. >>>=20 >>> Anyway, can anyone help me with this problem? Thank you for your = time. John >>>=20 >>=20 >> Like the log says. Use either absolute or relative paths. >> I presume you know what those concepts are. >>=20 >> Reason for that is security. Having just 'commons-daemon-1.0.15.jar' = in the classpath >> means it can come from anywhere in the PATH. >> So use >> -cp ./commons-daemon-1.0.15.jar:./api-monitor.jar >> (That's relative path) >> or >> -cp `pwd`/commons-daemon-1.0.15.jar:`pwd`/api-monitor.jar >> (That's absolute path) >>=20 >>=20 >>=20 >> Regards >> --=20 >> ^TM >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >>=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org