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

Guillaume Nodet resolved FELIX-2389.
------------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: karaf-1.6.2
       Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
        M       
karaf/admin/core/src/main/java/org/apache/felix/karaf/admin/internal/InstanceImpl.java
        M       karaf/assembly/src/main/distribution/unix-shell/bin/karaf
        M       karaf/assembly/src/main/distribution/windows-text/bin/karaf.bat
        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 r952610


> Problems with security extensions in Karaf 1.6.0
> ------------------------------------------------
>
>                 Key: FELIX-2389
>                 URL: https://issues.apache.org/jira/browse/FELIX-2389
>             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
>
>
> I'm using camel-ftp for secure ftps connections. This requires encryption and 
> thus access to extensions. Karaf.bat sets the following system property on 
> the java command line:
>   -Djava.ext.dirs="%JAVA_HOME%\lib\ext;%KARAF_HOME%\lib\ext"
> In the environments I have encountered, a JRE has also been installed as part 
> of the JDK. In those cases the extensions are located under the JRE's lib\ext 
> directory. If that is not included in "java.ext.dirs", then the security 
> extensions will not be found. I made the following change to karaf.bat:
>   
> -Djava.ext.dirs="%JAVA_HOME%\jre\lib\ext;%JAVA_HOME%\lib\ext;%KARAF_HOME%\lib\ext"
> ...and the following change to karaf-wrapper.conf:
>   
> wrapper.java.additional.7=-Djava.ext.dirs="%JAVA_HOME%\jre\lib\ext;%JAVA_HOME%/lib/ext;%KARAF_HOME%/lib/ext"
>  
> Note that in Karaf 1.6.0, java.ext.dirs is not specified at all in 
> karaf-wrapper.conf. This has been reported in 
> https://issues.apache.org/jira/browse/FELIX-2373.

-- 
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