felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: Karaf 1.6.0 and ssh problem
Date Mon, 31 May 2010 19:49:33 GMT
I'll try to investigate.  Maybe you should raise a JIRA issue.

On Thu, May 27, 2010 at 16:41, HERKEL Jakub <J.HERKEL@cpce.net> wrote:
> Is there any problem with ssh console in the latest version of Karaf
> (1.6.0)? I cannot connect to karaf and in log I can see an exception
> from sshd (see below). I have tried it from Windows (Putty) and also
> Fedora (ssh), but I have received the same exception. Is there a bug?
>
>  27.5.2010 15:58:41 org.apache.felix.karaf.main.SimpleFileLock lock
>
> INFO: locking
>
> 15:58:42,688 | INFO  | FelixStartLevel  | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Starting JMX OSGi agent
>
> 15:58:42,781 | INFO  | FelixStartLevel  | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Registering MBean with ObjectName
> [osgi.compendium:service=cm,version=1.3] for service with service.id
> [10]
>
> 15:58:43,912 | WARN  | rint Extender: 2 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.ssh is waiting
> for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://aries.apache.org/blueprint/xmlns/blueprint-
> ext/v1.0.0)
> <http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0%29> ),
> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service
> .blueprint.namespace=http://aries.apache.org/blueprint/xmlns/blueprint-c
> m/v1.0.0)
> <http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0%29> ),
> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service
> .blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:58:43,912 | WARN  | rint Extender: 2 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.dev is waiting
> for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:58:44,005 | WARN  | rint Extender: 2 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.jaas.modules is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://aries.apache.org/blueprint/xmlns/blueprint-
> ext/v1.0.0)
> <http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0%29> ),
> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service
> .blueprint.namespace=http://felix.apache.org/karaf/xmlns/jaas/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/jaas/v1.0.0%29> )]
>
> 15:58:44,005 | WARN  | rint Extender: 2 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.admin.command is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:58:44,222 | WARN  | rint Extender: 1 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.osgi is waiting
> for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:58:44,222 | WARN  | rint Extender: 2 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.commands is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:58:44,238 | WARN  | rint Extender: 1 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.packages is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:58:45,044 | INFO  | Thread-5         | FeaturesServiceImpl
> | res.internal.FeaturesServiceImpl  270 | 23 -
> org.apache.felix.karaf.features.core - 1.6.0 | Bundles to refresh:
>
> 15:58:45,137 | INFO  | rint Extender: 2 | SecurityUtils
> | e.sshd.common.util.SecurityUtils   80 | 30 - sshd-core - 0.4.0 |
> BouncyCastle not registered, using the default JCE provider
>
> 15:58:47,198 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Registering
> org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.compendium:service=cm,version=1.3
>
> 15:58:47,198 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Registering org.osgi.jmx.framework.PackageStateMBean
> to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=packageState,version=1.5
>
> 15:58:47,214 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Registering org.osgi.jmx.framework.FrameworkMBean to
> MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=framework,version=1.5
>
> 15:58:47,214 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Registering org.osgi.jmx.framework.ServiceStateMBean
> to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=serviceState,version=1.5
>
> 15:58:47,245 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Registering org.osgi.jmx.framework.BundleStateMBean
> to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=bundleState,version=1.5
>
> 15:59:26,769 | INFO  | NioProcessor-1   | ServerSession
> | shd.server.session.ServerSession   87 | 30 - sshd-core - 0.4.0 |
> Session created...
>
> 15:59:26,878 | INFO  | NioProcessor-1   | FileKeyPairProvider
> | AbstractGeneratorHostKeyProvider  149 | 30 - sshd-core - 0.4.0 |
> Generating host key...
>
> 15:59:27,777 | INFO  | NioProcessor-1   | ServerSession
> | shd.server.session.ServerSession  303 | 30 - sshd-core - 0.4.0 |
> Client version string: SSH-2.0-PuTTY_Release_0.60
>
> 15:59:27,777 | INFO  | NioProcessor-1   | ServerSession
> | shd.server.session.ServerSession  149 | 30 - sshd-core - 0.4.0 |
> Received SSH_MSG_KEXINIT
>
> 15:59:27,792 | WARN  | NioProcessor-1   | ServerSession
> | d.common.session.AbstractSession  253 | 30 - sshd-core - 0.4.0 |
> Exception caught
>
> java.lang.IllegalStateException: Unable to negociate key exchange for
> item 2
>
>                at
> org.apache.sshd.common.session.AbstractSession.negociate(AbstractSession
> .java:886)[30:sshd-core:0.4.0]
>
>                at
> org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession
> .java:151)[30:sshd-core:0.4.0]
>
>                at
> org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.ja
> va:522)[30:sshd-core:0.4.0]
>
>                at
> org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractS
> ession.java:225)[30:sshd-core:0.4.0]
>
>                at
> org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(Abstract
> SessionIoHandler.java:58)[30:sshd-core:0.4.0]
>
>                at
> org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.message
> Received(DefaultIoFilterChain.java:713)[25:org.apache.mina.core:2.0.0.RC
> 1]
>
>                at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageRec
> eived(DefaultIoFilterChain.java:434)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(Defaul
> tIoFilterChain.java:46)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messag
> eReceived(DefaultIoFilterChain.java:793)[25:org.apache.mina.core:2.0.0.R
> C1]
>
>                at
> org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilte
> rAdapter.java:119)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageRec
> eived(DefaultIoFilterChain.java:434)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceive
> d(DefaultIoFilterChain.java:426)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPol
> lingIoProcessor.java:638)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(Abstract
> PollingIoProcessor.java:598)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(Abstract
> PollingIoProcessor.java:587)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(Abstr
> actPollingIoProcessor.java:61)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(Ab
> stractPollingIoProcessor.java:969)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.j
> ava:64)[25:org.apache.mina.core:2.0.0.RC1]
>
>                at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
> r.java:886)[:1.6.0_20]
>
>                at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:908)[:1.6.0_20]
>
>                at java.lang.Thread.run(Thread.java:619)[:1.6.0_20]
>
> 15:59:27,792 | INFO  | NioProcessor-1   | ServerSession
> | d.common.session.AbstractSession  287 | 30 - sshd-core - 0.4.0 |
> Closing session
>
> 15:59:45,214 | INFO  | FelixStartLevel  | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Stopping JMX OSGi agent
>
> 15:59:45,214 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Unregistering
> org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.compendium:service=cm,version=1.3
>
> 15:59:45,214 | INFO  | FelixStartLevel  | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Unregistering MBean with ObjectName
> [osgi.compendium:service=cm,version=1.3] for service with service.id
> [10]
>
> 15:59:45,214 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Unregistering
> org.osgi.jmx.framework.PackageStateMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=packageState,version=1.5
>
> 15:59:45,230 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Unregistering org.osgi.jmx.framework.FrameworkMBean
> to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=framework,version=1.5
>
> 15:59:45,230 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Unregistering
> org.osgi.jmx.framework.ServiceStateMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=serviceState,version=1.5
>
> 15:59:45,230 | INFO  | JMX OSGi Agent   | jmx
> | ?                                   ? | 29 - org.apache.aries.jmx
-
> 0.1.0.incubating | Unregistering org.osgi.jmx.framework.BundleStateMBean
> to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@4413ee with name
> osgi.core:type=bundleState,version=1.5
>
> 15:59:45,431 | WARN  | rint Extender: 1 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.dev is waiting
> for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:59:45,431 | WARN  | rint Extender: 1 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.admin.command is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:59:45,431 | WARN  | rint Extender: 2 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.ssh is waiting
> for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:59:45,431 | WARN  | rint Extender: 3 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.commands is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:59:45,431 | WARN  | rint Extender: 3 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.shell.osgi is waiting
> for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/shell/v1.0.0%29> )]
>
> 15:59:45,447 | WARN  | rint Extender: 3 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 8 - org.apache.aries.blueprint
> - 0.1.0.incubating | Bundle org.apache.felix.karaf.jaas.modules is
> waiting for namespace handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/jaas/v1.0.0)
> <http://felix.apache.org/karaf/xmlns/jaas/v1.0.0%29> )]
>
> 15:59:45,478 | INFO  | FelixStartLevel  | Activator
> | j.pax.logging.internal.Activator   59 | 4 -
> org.ops4j.pax.logging.pax-logging-api - 1.5.0 | Disabling SLF4J API
> support.
>
> 15:59:45,478 | INFO  | FelixStartLevel  | Activator
> | j.pax.logging.internal.Activator   62 | 4 -
> org.ops4j.pax.logging.pax-logging-api - 1.5.0 | Disabling Jakarta
> Commons Logging API support.
>
> 15:59:45,478 | INFO  | FelixStartLevel  | Activator
> | j.pax.logging.internal.Activator   65 | 4 -
> org.ops4j.pax.logging.pax-logging-api - 1.5.0 | Disabling Log4J API
> support.
>
> 15:59:45,478 | INFO  | FelixStartLevel  | Activator
> | j.pax.logging.internal.Activator   68 | 4 -
> org.ops4j.pax.logging.pax-logging-api - 1.5.0 | Disabling Avalon Logger
> API support.
>
> 15:59:45,478 | INFO  | FelixStartLevel  | Activator
> | j.pax.logging.internal.Activator   71 | 4 -
> org.ops4j.pax.logging.pax-logging-api - 1.5.0 | Disabling JULI Logger
> API support.
>
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
View raw message