Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1327

Client: can't execute alias command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.6
    • 2.2.11, 2.3.1, 3.0.0
    • karaf
    • None

    Description

      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

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            amarkevich Alexey Markevich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: