You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Rudi Wijaya (JIRA)" <ji...@apache.org> on 2012/10/17 09:48:06 UTC

[jira] [Created] (KARAF-1931) SSH server (org.apache.karaf.shell.ssh) sometimes doesn't start properly (GracePeriod)

Rudi Wijaya created KARAF-1931:
----------------------------------

             Summary: SSH server (org.apache.karaf.shell.ssh) sometimes doesn't start properly (GracePeriod)
                 Key: KARAF-1931
                 URL: https://issues.apache.org/jira/browse/KARAF-1931
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 2.3.0
         Environment: Karaf
  Karaf version               2.3.0
  Karaf home                  /home/rudi/git/bippo-commerce5/karaf
  Karaf base                  /home/rudi/git/bippo-commerce5/karaf
  OSGi Framework              org.apache.felix.framework - 4.0.3

JVM
  Java Virtual Machine        OpenJDK 64-Bit Server VM version 23.2-b09
  Version                     1.7.0_07
  Vendor                      Oracle Corporation
  Uptime                      15.401 seconds
  Total compile time          27.499 seconds
Threads
  Live threads                113
  Daemon threads              98
  Peak                        115
  Total started               136
Memory
  Current heap size           75,670 kbytes
  Maximum heap size           466,048 kbytes
  Committed heap size         245,888 kbytes
  Pending objects             0
  Garbage collector           Name = 'PS Scavenge', Collections = 22, Time = 0.221 seconds
  Garbage collector           Name = 'PS MarkSweep', Collections = 1, Time = 0.130 seconds
Classes
  Current classes loaded      9,043
  Total classes loaded        9,044
  Total classes unloaded      1
Operating system
  Name                        Linux version 3.2.0-32-generic
  Architecture                amd64
  Processors                  4

            Reporter: Rudi Wijaya


This happened only twice. I cannot reproduce the bug consistently. :(

But given that it has a very low start level (30), there's probably a timing issue before any user bundles are started up.

The karaf configuration is untouched (i.e. the /etc folder is pristine).

{code}
karaf@root> list -s -t 0 | grep ssh
[  17] [Active     ] [GracePeriod ] [       ] [   30] org.apache.karaf.shell.ssh (2.3.0)
[  24] [Active     ] [            ] [       ] [   30] org.apache.sshd.core (0.8.0)
karaf@root> start 17
You are about to access system bundle 17.  Do you wish to continue (yes/no): karaf@root> 
karaf@root> 
karaf@root> headers 17
You are about to access system bundle 17.  Do you wish to continue (yes/no): 
Apache Karaf :: Shell :: SSH (17)
---------------------------------
Manifest-Version = 1.0
Bnd-LastModified = 1349996714628
Tool = Bnd-1.50.0
Built-By = jgoodyea
Build-Jdk = 1.6.0_21
Created-By = Apache Maven Bundle Plugin

Bundle-Vendor = The Apache Software Foundation
Bundle-Name = Apache Karaf :: Shell :: SSH
Bundle-DocURL = http://www.apache.org/
Bundle-Description = This bundle provides SSH support to the Karaf console.
Bundle-SymbolicName = org.apache.karaf.shell.ssh
Bundle-Version = 2.3.0
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2

Import-Service = 
        org.apache.felix.service.command.CommandProcessor;multiple:=false,
        org.apache.sshd.agent.SshAgent;availability:=optional;multiple:=true

Import-Package = 
        javax.security.auth,
        javax.security.auth.callback,
        javax.security.auth.login,
        jline;version="[2.9,3)",
        org.apache.felix.gogo.commands;version="[0.10,1)",
        org.apache.felix.gogo.runtime;version="[0.10,1)",
        org.apache.felix.service.command;status=provisional;version="[0.10,1)",
        org.apache.karaf.jaas.modules.publickey;version="[2.3,3)",
        org.apache.karaf.shell.console;version="[2.3,3)",
        org.apache.karaf.shell.console.jline;version="[2.3,3)",
        org.apache.sshd;version="[0.8,1)",
        org.apache.sshd.agent;version="[0.8,1)",
        org.apache.sshd.agent.common;version="[0.8,1)",
        org.apache.sshd.agent.local;version="[0.8,1)",
        org.apache.sshd.client.channel;version="[0.8,1)",
        org.apache.sshd.client.future;version="[0.8,1)",
        org.apache.sshd.common;version="[0.8,1)",
        org.apache.sshd.common.future;version="[0.8,1)",
        org.apache.sshd.common.util;version="[0.8,1)",
        org.apache.sshd.server;version="[0.8,1)",
        org.apache.sshd.server.auth;version="[0.8,1)",
        org.apache.sshd.server.command;version="[0.8,1)",
        org.apache.sshd.server.filesystem;version="[0.8,1)",
        org.apache.sshd.server.jaas;version="[0.8,1)",
        org.apache.sshd.server.keyprovider;version="[0.8,1)",
        org.apache.sshd.server.session;version="[0.8,1)",
        org.fusesource.jansi;version="[1.9,2)",
        org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
        org.osgi.service.blueprint.container;version="[1.0,2)",
        org.slf4j;version="[1.6,2)"
Export-Package = 
        org.apache.karaf.shell.ssh;
                uses:="org.apache.sshd.agent.local,
                        org.apache.sshd.common,
                        org.apache.sshd.agent,
                        org.apache.sshd.agent.common,
                        org.apache.sshd.server.session,
                        org.apache.sshd.server,
                        org.apache.sshd.server.filesystem,
                        javax.security.auth.callback,
                        org.apache.karaf.jaas.modules.publickey,
                        javax.security.auth.login,
                        javax.security.auth,
                        org.slf4j,
                        org.apache.felix.service.command,
                        org.fusesource.jansi,
                        org.apache.felix.gogo.commands,
                        org.apache.felix.gogo.runtime,
                        org.osgi.service.blueprint.container,
                        jline,
                        org.apache.karaf.shell.console.jline,
                        org.apache.karaf.shell.console,
                        org.apache.sshd.client.future,
                        org.apache.sshd.client.channel,
                        org.apache.sshd.common.future,
                        org.apache.sshd.common.util,
                        org.apache.sshd,
                        org.apache.sshd.server.auth";
                version=2.3.0
{code}

Connecting using Linux ssh doesn't work, as well as Karaf client: (the server isn't even running though, so it's not the client's fault)

{code}
rudi@rudi ~/git/bippo-commerce5 $ karaf/bin/client -h localhost -v
56 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
org.apache.sshd.common.RuntimeSshException: Failed to get the session.
        at org.apache.sshd.client.future.DefaultConnectFuture.getSession(DefaultConnectFuture.java:43)
        at org.apache.karaf.client.Main.main(Main.java:148)
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
        at org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:221)
        at org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:46)
        at org.apache.mina.core.polling.AbstractPollingIoConnector.processConnections(AbstractPollingIoConnector.java:442)
        at org.apache.mina.core.polling.AbstractPollingIoConnector.access$700(AbstractPollingIoConnector.java:64)
        at org.apache.mina.core.polling.AbstractPollingIoConnector$Connector.run(AbstractPollingIoConnector.java:510)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
{code}

Even though "BouncyCastle not registered" is shown, the client can connect successfully if the SSH server is started up properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-1931) SSH server (org.apache.karaf.shell.ssh) sometimes doesn't start properly (GracePeriod)

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1931.
-----------------------------------------

    Resolution: Duplicate
      Assignee: Jean-Baptiste Onofré
    
> SSH server (org.apache.karaf.shell.ssh) sometimes doesn't start properly (GracePeriod)
> --------------------------------------------------------------------------------------
>
>                 Key: KARAF-1931
>                 URL: https://issues.apache.org/jira/browse/KARAF-1931
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.3.0
>         Environment: Karaf
>   Karaf version               2.3.0
>   Karaf home                  /home/rudi/git/bippo-commerce5/karaf
>   Karaf base                  /home/rudi/git/bippo-commerce5/karaf
>   OSGi Framework              org.apache.felix.framework - 4.0.3
> JVM
>   Java Virtual Machine        OpenJDK 64-Bit Server VM version 23.2-b09
>   Version                     1.7.0_07
>   Vendor                      Oracle Corporation
>   Uptime                      15.401 seconds
>   Total compile time          27.499 seconds
> Threads
>   Live threads                113
>   Daemon threads              98
>   Peak                        115
>   Total started               136
> Memory
>   Current heap size           75,670 kbytes
>   Maximum heap size           466,048 kbytes
>   Committed heap size         245,888 kbytes
>   Pending objects             0
>   Garbage collector           Name = 'PS Scavenge', Collections = 22, Time = 0.221 seconds
>   Garbage collector           Name = 'PS MarkSweep', Collections = 1, Time = 0.130 seconds
> Classes
>   Current classes loaded      9,043
>   Total classes loaded        9,044
>   Total classes unloaded      1
> Operating system
>   Name                        Linux version 3.2.0-32-generic
>   Architecture                amd64
>   Processors                  4
>            Reporter: Rudi Wijaya
>            Assignee: Jean-Baptiste Onofré
>
> This happened only twice. I cannot reproduce the bug consistently. :(
> But given that it has a very low start level (30), there's probably a timing issue before any user bundles are started up.
> The karaf configuration is untouched (i.e. the /etc folder is pristine).
> {code}
> karaf@root> list -s -t 0 | grep ssh
> [  17] [Active     ] [GracePeriod ] [       ] [   30] org.apache.karaf.shell.ssh (2.3.0)
> [  24] [Active     ] [            ] [       ] [   30] org.apache.sshd.core (0.8.0)
> karaf@root> start 17
> You are about to access system bundle 17.  Do you wish to continue (yes/no): karaf@root> 
> karaf@root> 
> karaf@root> headers 17
> You are about to access system bundle 17.  Do you wish to continue (yes/no): 
> Apache Karaf :: Shell :: SSH (17)
> ---------------------------------
> Manifest-Version = 1.0
> Bnd-LastModified = 1349996714628
> Tool = Bnd-1.50.0
> Built-By = jgoodyea
> Build-Jdk = 1.6.0_21
> Created-By = Apache Maven Bundle Plugin
> Bundle-Vendor = The Apache Software Foundation
> Bundle-Name = Apache Karaf :: Shell :: SSH
> Bundle-DocURL = http://www.apache.org/
> Bundle-Description = This bundle provides SSH support to the Karaf console.
> Bundle-SymbolicName = org.apache.karaf.shell.ssh
> Bundle-Version = 2.3.0
> Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
> Bundle-ManifestVersion = 2
> Import-Service = 
>         org.apache.felix.service.command.CommandProcessor;multiple:=false,
>         org.apache.sshd.agent.SshAgent;availability:=optional;multiple:=true
> Import-Package = 
>         javax.security.auth,
>         javax.security.auth.callback,
>         javax.security.auth.login,
>         jline;version="[2.9,3)",
>         org.apache.felix.gogo.commands;version="[0.10,1)",
>         org.apache.felix.gogo.runtime;version="[0.10,1)",
>         org.apache.felix.service.command;status=provisional;version="[0.10,1)",
>         org.apache.karaf.jaas.modules.publickey;version="[2.3,3)",
>         org.apache.karaf.shell.console;version="[2.3,3)",
>         org.apache.karaf.shell.console.jline;version="[2.3,3)",
>         org.apache.sshd;version="[0.8,1)",
>         org.apache.sshd.agent;version="[0.8,1)",
>         org.apache.sshd.agent.common;version="[0.8,1)",
>         org.apache.sshd.agent.local;version="[0.8,1)",
>         org.apache.sshd.client.channel;version="[0.8,1)",
>         org.apache.sshd.client.future;version="[0.8,1)",
>         org.apache.sshd.common;version="[0.8,1)",
>         org.apache.sshd.common.future;version="[0.8,1)",
>         org.apache.sshd.common.util;version="[0.8,1)",
>         org.apache.sshd.server;version="[0.8,1)",
>         org.apache.sshd.server.auth;version="[0.8,1)",
>         org.apache.sshd.server.command;version="[0.8,1)",
>         org.apache.sshd.server.filesystem;version="[0.8,1)",
>         org.apache.sshd.server.jaas;version="[0.8,1)",
>         org.apache.sshd.server.keyprovider;version="[0.8,1)",
>         org.apache.sshd.server.session;version="[0.8,1)",
>         org.fusesource.jansi;version="[1.9,2)",
>         org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
>         org.osgi.service.blueprint.container;version="[1.0,2)",
>         org.slf4j;version="[1.6,2)"
> Export-Package = 
>         org.apache.karaf.shell.ssh;
>                 uses:="org.apache.sshd.agent.local,
>                         org.apache.sshd.common,
>                         org.apache.sshd.agent,
>                         org.apache.sshd.agent.common,
>                         org.apache.sshd.server.session,
>                         org.apache.sshd.server,
>                         org.apache.sshd.server.filesystem,
>                         javax.security.auth.callback,
>                         org.apache.karaf.jaas.modules.publickey,
>                         javax.security.auth.login,
>                         javax.security.auth,
>                         org.slf4j,
>                         org.apache.felix.service.command,
>                         org.fusesource.jansi,
>                         org.apache.felix.gogo.commands,
>                         org.apache.felix.gogo.runtime,
>                         org.osgi.service.blueprint.container,
>                         jline,
>                         org.apache.karaf.shell.console.jline,
>                         org.apache.karaf.shell.console,
>                         org.apache.sshd.client.future,
>                         org.apache.sshd.client.channel,
>                         org.apache.sshd.common.future,
>                         org.apache.sshd.common.util,
>                         org.apache.sshd,
>                         org.apache.sshd.server.auth";
>                 version=2.3.0
> {code}
> Connecting using Linux ssh doesn't work, as well as Karaf client: (the server isn't even running though, so it's not the client's fault)
> {code}
> rudi@rudi ~/git/bippo-commerce5 $ karaf/bin/client -h localhost -v
> 56 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
> org.apache.sshd.common.RuntimeSshException: Failed to get the session.
>         at org.apache.sshd.client.future.DefaultConnectFuture.getSession(DefaultConnectFuture.java:43)
>         at org.apache.karaf.client.Main.main(Main.java:148)
> Caused by: java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
>         at org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:221)
>         at org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:46)
>         at org.apache.mina.core.polling.AbstractPollingIoConnector.processConnections(AbstractPollingIoConnector.java:442)
>         at org.apache.mina.core.polling.AbstractPollingIoConnector.access$700(AbstractPollingIoConnector.java:64)
>         at org.apache.mina.core.polling.AbstractPollingIoConnector$Connector.run(AbstractPollingIoConnector.java:510)
>         at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> {code}
> Even though "BouncyCastle not registered" is shown, the client can connect successfully if the SSH server is started up properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1931) SSH server (org.apache.karaf.shell.ssh) sometimes doesn't start properly (GracePeriod)

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478960#comment-13478960 ] 

Jean-Baptiste Onofré commented on KARAF-1931:
---------------------------------------------

I think this issue is the same described in KARAF-1925 (about ssh and management bundles).
                
> SSH server (org.apache.karaf.shell.ssh) sometimes doesn't start properly (GracePeriod)
> --------------------------------------------------------------------------------------
>
>                 Key: KARAF-1931
>                 URL: https://issues.apache.org/jira/browse/KARAF-1931
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.3.0
>         Environment: Karaf
>   Karaf version               2.3.0
>   Karaf home                  /home/rudi/git/bippo-commerce5/karaf
>   Karaf base                  /home/rudi/git/bippo-commerce5/karaf
>   OSGi Framework              org.apache.felix.framework - 4.0.3
> JVM
>   Java Virtual Machine        OpenJDK 64-Bit Server VM version 23.2-b09
>   Version                     1.7.0_07
>   Vendor                      Oracle Corporation
>   Uptime                      15.401 seconds
>   Total compile time          27.499 seconds
> Threads
>   Live threads                113
>   Daemon threads              98
>   Peak                        115
>   Total started               136
> Memory
>   Current heap size           75,670 kbytes
>   Maximum heap size           466,048 kbytes
>   Committed heap size         245,888 kbytes
>   Pending objects             0
>   Garbage collector           Name = 'PS Scavenge', Collections = 22, Time = 0.221 seconds
>   Garbage collector           Name = 'PS MarkSweep', Collections = 1, Time = 0.130 seconds
> Classes
>   Current classes loaded      9,043
>   Total classes loaded        9,044
>   Total classes unloaded      1
> Operating system
>   Name                        Linux version 3.2.0-32-generic
>   Architecture                amd64
>   Processors                  4
>            Reporter: Rudi Wijaya
>
> This happened only twice. I cannot reproduce the bug consistently. :(
> But given that it has a very low start level (30), there's probably a timing issue before any user bundles are started up.
> The karaf configuration is untouched (i.e. the /etc folder is pristine).
> {code}
> karaf@root> list -s -t 0 | grep ssh
> [  17] [Active     ] [GracePeriod ] [       ] [   30] org.apache.karaf.shell.ssh (2.3.0)
> [  24] [Active     ] [            ] [       ] [   30] org.apache.sshd.core (0.8.0)
> karaf@root> start 17
> You are about to access system bundle 17.  Do you wish to continue (yes/no): karaf@root> 
> karaf@root> 
> karaf@root> headers 17
> You are about to access system bundle 17.  Do you wish to continue (yes/no): 
> Apache Karaf :: Shell :: SSH (17)
> ---------------------------------
> Manifest-Version = 1.0
> Bnd-LastModified = 1349996714628
> Tool = Bnd-1.50.0
> Built-By = jgoodyea
> Build-Jdk = 1.6.0_21
> Created-By = Apache Maven Bundle Plugin
> Bundle-Vendor = The Apache Software Foundation
> Bundle-Name = Apache Karaf :: Shell :: SSH
> Bundle-DocURL = http://www.apache.org/
> Bundle-Description = This bundle provides SSH support to the Karaf console.
> Bundle-SymbolicName = org.apache.karaf.shell.ssh
> Bundle-Version = 2.3.0
> Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
> Bundle-ManifestVersion = 2
> Import-Service = 
>         org.apache.felix.service.command.CommandProcessor;multiple:=false,
>         org.apache.sshd.agent.SshAgent;availability:=optional;multiple:=true
> Import-Package = 
>         javax.security.auth,
>         javax.security.auth.callback,
>         javax.security.auth.login,
>         jline;version="[2.9,3)",
>         org.apache.felix.gogo.commands;version="[0.10,1)",
>         org.apache.felix.gogo.runtime;version="[0.10,1)",
>         org.apache.felix.service.command;status=provisional;version="[0.10,1)",
>         org.apache.karaf.jaas.modules.publickey;version="[2.3,3)",
>         org.apache.karaf.shell.console;version="[2.3,3)",
>         org.apache.karaf.shell.console.jline;version="[2.3,3)",
>         org.apache.sshd;version="[0.8,1)",
>         org.apache.sshd.agent;version="[0.8,1)",
>         org.apache.sshd.agent.common;version="[0.8,1)",
>         org.apache.sshd.agent.local;version="[0.8,1)",
>         org.apache.sshd.client.channel;version="[0.8,1)",
>         org.apache.sshd.client.future;version="[0.8,1)",
>         org.apache.sshd.common;version="[0.8,1)",
>         org.apache.sshd.common.future;version="[0.8,1)",
>         org.apache.sshd.common.util;version="[0.8,1)",
>         org.apache.sshd.server;version="[0.8,1)",
>         org.apache.sshd.server.auth;version="[0.8,1)",
>         org.apache.sshd.server.command;version="[0.8,1)",
>         org.apache.sshd.server.filesystem;version="[0.8,1)",
>         org.apache.sshd.server.jaas;version="[0.8,1)",
>         org.apache.sshd.server.keyprovider;version="[0.8,1)",
>         org.apache.sshd.server.session;version="[0.8,1)",
>         org.fusesource.jansi;version="[1.9,2)",
>         org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
>         org.osgi.service.blueprint.container;version="[1.0,2)",
>         org.slf4j;version="[1.6,2)"
> Export-Package = 
>         org.apache.karaf.shell.ssh;
>                 uses:="org.apache.sshd.agent.local,
>                         org.apache.sshd.common,
>                         org.apache.sshd.agent,
>                         org.apache.sshd.agent.common,
>                         org.apache.sshd.server.session,
>                         org.apache.sshd.server,
>                         org.apache.sshd.server.filesystem,
>                         javax.security.auth.callback,
>                         org.apache.karaf.jaas.modules.publickey,
>                         javax.security.auth.login,
>                         javax.security.auth,
>                         org.slf4j,
>                         org.apache.felix.service.command,
>                         org.fusesource.jansi,
>                         org.apache.felix.gogo.commands,
>                         org.apache.felix.gogo.runtime,
>                         org.osgi.service.blueprint.container,
>                         jline,
>                         org.apache.karaf.shell.console.jline,
>                         org.apache.karaf.shell.console,
>                         org.apache.sshd.client.future,
>                         org.apache.sshd.client.channel,
>                         org.apache.sshd.common.future,
>                         org.apache.sshd.common.util,
>                         org.apache.sshd,
>                         org.apache.sshd.server.auth";
>                 version=2.3.0
> {code}
> Connecting using Linux ssh doesn't work, as well as Karaf client: (the server isn't even running though, so it's not the client's fault)
> {code}
> rudi@rudi ~/git/bippo-commerce5 $ karaf/bin/client -h localhost -v
> 56 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
> org.apache.sshd.common.RuntimeSshException: Failed to get the session.
>         at org.apache.sshd.client.future.DefaultConnectFuture.getSession(DefaultConnectFuture.java:43)
>         at org.apache.karaf.client.Main.main(Main.java:148)
> Caused by: java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
>         at org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:221)
>         at org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:46)
>         at org.apache.mina.core.polling.AbstractPollingIoConnector.processConnections(AbstractPollingIoConnector.java:442)
>         at org.apache.mina.core.polling.AbstractPollingIoConnector.access$700(AbstractPollingIoConnector.java:64)
>         at org.apache.mina.core.polling.AbstractPollingIoConnector$Connector.run(AbstractPollingIoConnector.java:510)
>         at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> {code}
> Even though "BouncyCastle not registered" is shown, the client can connect successfully if the SSH server is started up properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira