Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DDA618289 for ; Thu, 9 Jul 2015 09:44:05 +0000 (UTC) Received: (qmail 9924 invoked by uid 500); 9 Jul 2015 09:44:04 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 9896 invoked by uid 500); 9 Jul 2015 09:44:04 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 9883 invoked by uid 99); 9 Jul 2015 09:44:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 09:44:04 +0000 Date: Thu, 9 Jul 2015 09:44:04 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (KARAF-3819) bundle:list command is not able to be executed from client script MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3819?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet reassigned KARAF-3819: -------------------------------------- Assignee: Guillaume Nodet (was: Jean-Baptiste Onofr=C3=A9) > bundle:list command is not able to be executed from client script > ----------------------------------------------------------------- > > Key: KARAF-3819 > URL: https://issues.apache.org/jira/browse/KARAF-3819 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 4.0.0 > Environment: Win7 > Reporter: Xilai Dai > Assignee: Guillaume Nodet > Fix For: 4.0.1 > > > 1) start karaf 4.0.0 using bin/karaf.bat > 2) start cmd: client.bat -a 8101 -h localhost -u karaf "bundle:list" > {code} > D:\download\apache-karaf-4.0.0\bin>client.bat -a 8101 -h localhost -u kar= af "bundle:list" > Logging in as karaf > 371 [sshd-SshClient[ba41381]-nio2-thread-8] WARN org.apache.sshd.client.k= eyverifier.AcceptAllServerKeyVerifier - Server > at [localhost/127.0.0.1:8101, RSA, e6:23:a2:8a:35:45:86:3a:86:87:bf:2c:e9= :66:1c:25] presented unverified {} key: {} > Error executing command: Unable to creation command action org.apache.kar= af.bundle.command.List > {code} > also got ERROR in karaf.log > {code} > 2015-07-01 16:37:22,105 | ERROR | Thread-22 | ShellUtil = | 43 - org.apache.karaf.shell.core - 4.0.0 | Exception caught = while executing command > java.lang.RuntimeException: Unable to creation command action org.apache.= karaf.bundle.command.List > =09at org.apache.karaf.shell.impl.action.command.ActionCommand.createNewA= ction(ActionCommand.java:95)[43:org.apache.karaf.shell.core:4.0.0] > =09at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(Ac= tionCommand.java:80)[43:org.apache.karaf.shell.core:4.0.0] > =09at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.exe= cute(SecuredCommand.java:67)[43:org.apache.karaf.shell.core:4.0.0] > =09at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.exe= cute(SecuredCommand.java:87)[43:org.apache.karaf.shell.core:4.0.0] > =09at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[= 43:org.apache.karaf.shell.core:4.0.0] > =09at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java= :406)[43:org.apache.karaf.shell.core:4.0.0] > =09at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[43:org.apache= .karaf.shell.core:4.0.0] > =09at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[43:= org.apache.karaf.shell.core:4.0.0] > =09at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[43:= org.apache.karaf.shell.core:4.0.0] > =09at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSes= sionImpl.java:94) > =09at org.apache.karaf.shell.impl.console.HeadlessSessionImpl.execute(Hea= dlessSessionImpl.java:90) > =09at org.apache.karaf.shell.ssh.ShellCommand$1.run(ShellCommand.java:116= ) > =09at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_5= 1] > =09at org.apache.karaf.util.jaas.JaasHelper.doAs(JaasHelper.java:103)[44:= org.apache.karaf.shell.ssh:4.0.0] > =09at org.apache.karaf.shell.ssh.ShellCommand.run(ShellCommand.java:112)[= 44:org.apache.karaf.shell.ssh:4.0.0] > =09at java.lang.Thread.run(Thread.java:744)[:1.7.0_51] > Caused by: java.lang.IllegalStateException: No service matching org.apach= e.karaf.shell.api.console.Terminal > =09at org.apache.karaf.shell.impl.action.command.ManagerImpl.instantiate(= ManagerImpl.java:91) > =09at org.apache.karaf.shell.impl.action.command.ActionCommand.createNewA= ction(ActionCommand.java:93)[43:org.apache.karaf.shell.core:4.0.0] > =09... 15 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)