[
https://issues.apache.org/jira/browse/KARAF-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030983#comment-13030983
]
Jamie goodyear commented on KARAF-626:
--------------------------------------
After some investigation it turns out that this issue occurs when the JCE
libraries are not being included in the classpath.
On some systems, the jars for cryptography are located in
${JAVA_HOME}/jre/lib/endorsed or ${JAVA_HOME}/lib/endorsed.
On my Mac I just had to ensure I had my Java Home set correctly, then I was
able to create and connect to instances without problems.
{code}
$ echo $JAVA_HOME
/Library/Java/Home
{code}
See the following thread for more details.
http://karaf.922171.n3.nabble.com/Strange-behaviour-with-SSH-td1306643.html
> admin:connect always fails with "Authentication failed"
> -------------------------------------------------------
>
> Key: KARAF-626
> URL: https://issues.apache.org/jira/browse/KARAF-626
> Project: Karaf
> Issue Type: Bug
> Components: runtime
> Affects Versions: 2.2.0
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.2.1
>
> Attachments: karaf626-error.log
>
>
> After creating a child instance, it's not possible to connect on this
> instance using admin:connect command (even supplying the correct
> username/password):
> karaf@root> admin:connect node2
> Connecting to host localhost on port 8102
> Connected
> Authentication failed
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira