[
https://issues.apache.org/jira/browse/KARAF-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jamie goodyear closed KARAF-86.
-------------------------------
> Problems with security extensions in Karaf 1.6.0
> ------------------------------------------------
>
> Key: KARAF-86
> URL: https://issues.apache.org/jira/browse/KARAF-86
> Project: Karaf
> Issue Type: Bug
> Reporter: Bengt Rodehav
> Assignee: Guillaume Nodet
> Fix For: 1.6.x
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira