[ 
https://issues.apache.org/jira/browse/KARAF-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972489#action_12972489
 ] 

Stephen Flynn commented on KARAF-178:
-------------------------------------

Apostrophes still do seem to cause a problem when running Karaf 2.1.2 on
Linux (Debian 5.0.3).

The current 'out of the box' karaf-wrapper.conf file produced by
wrapper:install contains...

wrapper.java.additional.7=-Djava.endorsed.dirs="%JAVA_HOME%/jre/lib/endorsed:%JAVA_HOME%/lib/endorsed:%KARAF_HOME%/lib/endorsed"
wrapper.java.additional.8=-Djava.ext.dirs="%JAVA_HOME%/jre/lib/ext:%JAVA_HOME%/lib/ext:%KARAF_HOME%/lib/ext"

This causes a 'no matching cipher' exception when logging to Karaf when run
from the wrapper service (presumably due to the JVM not finding the correct
endorsed dir). Tweaking karaf-wrapper.conf by removing the quotation marks so...

wrapper.java.additional.7=-Djava.endorsed.dirs=%JAVA_HOME%/jre/lib/endorsed:%JAVA_HOME%/lib/endorsed:%KARAF_HOME%/lib/endorsed
wrapper.java.additional.8=-Djava.ext.dirs=%JAVA_HOME%/jre/lib/ext:%JAVA_HOME%/lib/ext:%KARAF_HOME%/lib/ext

solves this problem. Not sure what side effect changing this might have
elsewhere.

JVM details...

Java Runtime Java(TM) SE Runtime Environment(build 1.6.0_14-b08)
Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM(build 14.0-b16, mixed
mode)
Number of Processors 8

OS details...
Debian 5.0.3
Linux version 2.6.26-2-amd64 (Debian 2.6.26-19lenny1) ([hidden email])
(gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25))

> When the karaf runtime is launched under JSW, the bin/client script fails to 
> connect
> ------------------------------------------------------------------------------------
>
>                 Key: KARAF-178
>                 URL: https://issues.apache.org/jira/browse/KARAF-178
>             Project: Karaf
>          Issue Type: Bug
>          Components: wrapper
>    Affects Versions: 2.1.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.0
>
>


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