Hi List,
We are getting "Failed to get the session." while trying to connect to
karaf using client. Actual issue is we are unable to list bundle.
We are using custom sshPort in org.apache.karaf.shell.cfg i.e. :
# cat org.apache.karaf.shell.cfg | grep -v "^#"
sshPort = 22222
sshHost = 127.0.0.1
sshIdleTimeout = 1800000
sshRealm = karaf
hostKey = ${karaf.etc}/host.key
hostKeyFormat = simple
sshRole = admin
completionMode = GLOBAL
However, I don't see that this port is listening and we do bin/client we
get below message:
[root@localhost etc]# netstat -tulnp | grep 22222
[root@localhost etc]#
Login Attempt using client is failing with *"Failed to get the session."*
*[root@ip-10-89-83-49 etc]# ../bin/client Logging in as karafFailed to get
the session.*
[root@ip-10-89-83-49 etc]# ../bin/client -a 22222
Logging in as karaf
Failed to get the session.
[root@ip-10-89-83-49 etc]# ../bin/client -a 22222 -h 127.0.0.1
Logging in as karaf
Failed to get the session.
[root@ip-10-89-83-49 etc]#
Any suggestions please ?
*Thanks & Regards,Yogesh Sharma *