You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/06/08 11:38:10 UTC
[jira] Resolved: (FELIX-2373) Wrapper service is not configured
properly in Karaf 1.6.0
[ https://issues.apache.org/jira/browse/FELIX-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-2373.
------------------------------------
Assignee: Guillaume Nodet
Fix Version/s: karaf-1.6.2
Resolution: Fixed
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
A karaf/main/src/main/java/org/apache/felix/karaf/main/Bootstrap.java
M karaf/shell/wrapper/src/main/resources/org/apache/felix/karaf/shell/wrapper/unix/karaf-wrapper.conf
M karaf/shell/wrapper/src/main/resources/org/apache/felix/karaf/shell/wrapper/windows/karaf-wrapper.conf
Committed r952590
> 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
> Assignee: Guillaume Nodet
> Fix For: karaf-1.6.2
>
>
> 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.