[ https://issues.apache.org/jira/browse/KARAF-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432796#comment-15432796 ]
ASF subversion and git services commented on KARAF-4648: -------------------------------------------------------- Commit 45ec65bf03aeb523c90ab25908b139f3610b5a7b in karaf's branch refs/heads/master from [~jbonofre] [ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=45ec65b ] [KARAF-4648] Use KARAF_BASE in wrapper classpath/library instead of KARAF_HOME > 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_HOME > hierarchy. > Reporter: Scott Leschke > Assignee: Jean-Baptiste Onofré > 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 docs. > 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 following > lines in it. This file is created under KARAF_BASE/etc. > > wrapper.java.classpath.2=%KARAF_HOME%/lib/wrapper/*.jar > wrapper.java.library.path.1=%KARAF_HOME%/lib/wrapper/ > Replacing KARAF_HOME with KARAF_BASE as shown below allowed the service to > start. > > wrapper.java.classpath.2=%KARAF_BASE%/lib/wrapper/*.jar > wrapper.java.library.path.1=%KARAF_BASE%/lib/wrapper/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)