the '"' are only needed if there are spaces in the path; I think JB changed
something at those files; since he's using linux too (where you typically
don't have any spaces in your path) I think he simply missed that one...

@Markus: pls create a jira for this problem and we'll readd them asap.

Kind regards,
Andreas

On Fri, Oct 21, 2011 at 12:39, Achim Nierbeck <[email protected]>wrote:

> Hi,
>
> please open a Jira issue for that, I think this is a bug, though we have to
> check why this did get removed again.
> Cause there seem to be certain systems where those quotes aren't needed.
> Does anyone know which system doesn't need those, cause AFAIK the systems I
> used always needed those.
>
> regards, Achim
>
>
> 2011/10/21 mst <[email protected]>
>
>> Hi!
>>
>> I've updated from Karaf 2.2.2 to 2.2.4 lately and tried to let it run as
>> windows service using the service wrapper feature. It seems that with
>> 2.2.4
>> there is a bug in creating the karaf-wrapper.conf.
>>
>> with 2.2.4:
>>
>>
>> wrapper.java.additional.7=-Djava.endorsed.dirs=%JAVA_HOME%/jre/lib/endorsed;%JAVA_HOME%/lib/endorsed;%KARAF_HOME%/lib/endorsed
>>
>> wrapper.java.additional.8=-Djava.ext.dirs=%JAVA_HOME%/jre/lib/ext;%JAVA_HOME%/lib/ext;%KARAF_HOME%/lib/ext
>>
>> with 2.2.2:
>>
>> wrapper.java.additional.7=-Djava.endorsed.dirs="%JAVA_HOME%/jre/lib/endorsed;%JAVA_HOME%/lib/endorsed;%KARAF_HOME%/lib/endorsed"
>>
>> wrapper.java.additional.8=-Djava.ext.dirs="%JAVA_HOME%/jre/lib/ext;%JAVA_HOME%/lib/ext;%KARAF_HOME%/lib/ext"
>>
>> In 2.2.4 there are the double quotes missing which leads to
>> NoClassDefFound
>> exception due to invalid path definitions.
>>
>> Best
>> Markus
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Service-wrapper-bug-in-2-2-4-tp3440454p3440454.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
>
>
> --
> --
> *Achim Nierbeck*
>
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>  Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
>

Reply via email to