You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2011/07/07 11:47:17 UTC

[jira] [Closed] (KARAF-84) Wrapper service is not configured properly in Karaf 1.6.0

     [ https://issues.apache.org/jira/browse/KARAF-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-84.
-------------------------------


> Wrapper service is not configured properly in Karaf 1.6.0
> ---------------------------------------------------------
>
>                 Key: KARAF-84
>                 URL: https://issues.apache.org/jira/browse/KARAF-84
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Bengt Rodehav
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.x
>
>
> Changes related to Karaf startup has been done in Karaf 1.6.0 but those changes have not been reflected in the configuration of the Wrapper service. I had to do the following changes in "karaf-wrapper.conf" to get Karaf 1.6.0 to work with the Wrapper service:
> a) Change the main class:
>   wrapper.app.parameter.1=org.apache.felix.karaf.main.Main
> b) Add the following line to the classpath:
>   wrapper.java.classpath.4=%KARAF_HOME%/system/org/apache/felix/org.apache.felix.framework/2.0.5/org.apache.felix.framework-2.0.5.jar
> c)  Add the following JVM parameters:
>   wrapper.java.additional.6=-Djava.endorsed.dirs="%JAVA_HOME%/lib/endorsed;%KARAF_HOME%/lib/endorsed"
>   wrapper.java.additional.7=-Djava.ext.dirs="%JAVA_HOME%/lib/ext;%KARAF_HOME%/lib/ext" 
>  
> Actually "c)" wasn't really necessary to get Karaf started but it seemed to have been omitted in comparison to "karaf.bat". Overall I think someone should compare the settings in "karaf.bat" with the ones in "karaf-wrapper.conf" to make sure they are the same.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira