karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1327) Client: can't execute alias command
Date Thu, 12 Apr 2012 11:47:18 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252350#comment-13252350
] 

Christian Schneider commented on KARAF-1327:
--------------------------------------------

I just tried with the following command on trunk and it worked

sshd
ssh -l karaf -P karaf -p 8101 localhost bundle:list

                
> Client: can't execute alias command
> -----------------------------------
>
>                 Key: KARAF-1327
>                 URL: https://issues.apache.org/jira/browse/KARAF-1327
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.6
>            Reporter: Alexey Markevich
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>
> apache-karaf-2.2.6\bin>client -a 8101 -h localhost -u karaf -p karaf bundles:list
> No output; log contains exception
> 2012-04-05 14:52:18,921 | WARN  | NioProcessor-3   | ServerSession                  
 | d.common.session.AbstractSession  253 | 22 - sshd-core - 0.5.0 | Exception caught
> java.io.IOException: Unable to start shell
> 	at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand.start(ShellCommandFactory.java:104)[14:org.apache.karaf.shell.ssh:2.2.6]
> 	at org.apache.sshd.server.channel.ChannelSession.handleExec(ChannelSession.java:398)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.server.channel.ChannelSession.handleRequest(ChannelSession.java:232)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.server.channel.ChannelSession.handleRequest(ChannelSession.java:194)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.common.session.AbstractSession.channelRequest(AbstractSession.java:999)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession.java:210)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:522)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:225)[22:sshd-core:0.5.0]
> 	at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:58)[22:sshd-core:0.5.0]
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:692)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:645)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:634)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:66)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1078)[34:org.apache.mina.core:2.0.1]
> 	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[34:org.apache.mina.core:2.0.1]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_31]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_31]
> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_31]
> Caused by: org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found:
bundles:list
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:471)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> 	at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand$1.run(ShellCommandFactory.java:93)
> 	at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_31]
> 	at javax.security.auth.Subject.doAs(Subject.java:396)[:1.6.0_31]
> 	at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand.start(ShellCommandFactory.java:91)[14:org.apache.karaf.shell.ssh:2.2.6]
> 	... 24 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message