Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 24386200B6D for ; Tue, 23 Aug 2016 15:41:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 22C79160AA5; Tue, 23 Aug 2016 13:41:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 68361160AAD for ; Tue, 23 Aug 2016 15:41:22 +0200 (CEST) Received: (qmail 86463 invoked by uid 500); 23 Aug 2016 13:41:21 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 86241 invoked by uid 99); 23 Aug 2016 13:41:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 13:41:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 71A5C2C0153 for ; Tue, 23 Aug 2016 13:41:21 +0000 (UTC) Date: Tue, 23 Aug 2016 13:41:21 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4648) Feature service-wrapper creates invalid SERVICENAME-wrapper.conf file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 13:41:23 -0000 [ https://issues.apache.org/jira/browse/KARAF-4648?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1543= 2796#comment-15432796 ]=20 ASF subversion and git services commented on KARAF-4648: -------------------------------------------------------- Commit 45ec65bf03aeb523c90ab25908b139f3610b5a7b in karaf's branch refs/head= s/master from [~jbonofre] [ https://git-wip-us.apache.org/repos/asf?p=3Dkaraf.git;h=3D45ec65b ] [KARAF-4648] Use KARAF_BASE in wrapper classpath/library instead of KARAF_H= OME > Feature service-wrapper creates invalid SERVICENAME-wrapper.conf file > --------------------------------------------------------------------- > > Key: KARAF-4648 > URL: https://issues.apache.org/jira/browse/KARAF-4648 > Project: Karaf > Issue Type: Bug > Components: karaf-os-integration > Affects Versions: 4.0.5 > Environment: Windows KARAF_BASE defined to be outside of KARAF_H= OME hierarchy. > Reporter: Scott Leschke > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > Fix For: 4.1.0, 4.0.6 > > > Note: KARAF_BASE is defined to be outside the KARAF_HOME hierarchy. > After installing service-wrapper, ran wrapper:install command per the doc= s. That worked fine. When we tried to start the service though it failed. = Upon review, I saw that the {service-name}-wrapper.conf file had the follo= wing lines in it. This file is created under KARAF_BASE/etc. > =20 > wrapper.java.classpath.2=3D%KARAF_HOME%/lib/wrapper/*.jar > wrapper.java.library.path.1=3D%KARAF_HOME%/lib/wrapper/ > Replacing KARAF_HOME with KARAF_BASE as shown below allowed the service t= o start. > =20 > wrapper.java.classpath.2=3D%KARAF_BASE%/lib/wrapper/*.jar > wrapper.java.library.path.1=3D%KARAF_BASE%/lib/wrapper/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)