Wrapper service is not configured properly in Karaf 1.6.0
---------------------------------------------------------

                 Key: FELIX-2373
                 URL: https://issues.apache.org/jira/browse/FELIX-2373
             Project: Felix
          Issue Type: Bug
          Components: Karaf
    Affects Versions: karaf 1.6.0
            Reporter: Bengt Rodehav


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to