karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Unable to connect to a child instance with instance:connect
Date Sat, 06 Aug 2016 05:01:34 GMT
OK thanks.

Let me try to reproduce on a VM.

Regards
JB



On Aug 6, 2016, 07:01, at 07:01, Chandan <chandan.mysorebalakrishna@in.bosch.com> wrote:
>Hello,
>
>Yes i tested in windows
>Log :
>
>org.apache.sshd.common.SshException: Channel opening failed
>	at
>org.apache.sshd.client.future.DefaultOpenFuture.verify(DefaultOpenFuture.java:43)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.karaf.shell.ssh.SshAction.execute(SshAction.java:241)[45:org.apache.karaf.shell.ssh:4.0.5]
>	at
>org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.console.ConsoleSessionImpl.execute(ConsoleSessionImpl.java:296)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.instance.command.ConnectCommand.doExecute(ConnectCommand.java:77)[32:org.apache.karaf.instance.core:4.0.5]
>	at
>org.apache.karaf.instance.command.InstanceCommandSupport.execute(InstanceCommandSupport.java:90)[32:org.apache.karaf.instance.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5]
>	at
>org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5]
>	at java.lang.Thread.run(Thread.java:745)[:1.8.0_73]
>Caused by: java.lang.NullPointerException
>	at org.apache.sshd.common.util.Buffer.putString(Buffer.java:435)
>	at
>org.apache.sshd.client.channel.PtyCapableChannelSession.doOpenPty(PtyCapableChannelSession.java:192)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.client.channel.ChannelShell.doOpen(ChannelShell.java:38)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.client.channel.AbstractClientChannel.handleOpenSuccess(AbstractClientChannel.java:232)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.session.AbstractConnectionService.channelOpenConfirmation(AbstractConnectionService.java:197)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.session.AbstractConnectionService.process(AbstractConnectionService.java:147)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:431)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:306)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)[1:org.apache.sshd.core:0.14.0]
>	at
>org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
>	at java.security.AccessController.doPrivileged(Native
>Method)[:1.8.0_73]
>	at
>org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[1:org.apache.sshd.core:0.14.0]
>	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.8.0_73]
>	at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.8.0_73]
>	at
>sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.8.0_73]
>	at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_73]
>	at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_73]
>	... 1 more
>
>
>
>
>--
>View this message in context:
>http://karaf.922171.n3.nabble.com/Unable-to-connect-to-a-child-instance-with-instance-connect-tp4047428p4047445.html
>Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message