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