Description
1) start karaf 4.0.0 using bin/karaf.bat
2) start cmd: client.bat -a 8101 -h localhost -u karaf "bundle:list"
D:\download\apache-karaf-4.0.0\bin>client.bat -a 8101 -h localhost -u karaf "bundle:list"
Logging in as karaf
371 [sshd-SshClient[ba41381]-nio2-thread-8] WARN org.apache.sshd.client.keyverifier.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.karaf.bundle.command.List
also got ERROR in karaf.log
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 at org.apache.karaf.shell.impl.action.command.ActionCommand.createNewAction(ActionCommand.java:95)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:80)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[43:org.apache.karaf.shell.core:4.0.0] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94) at org.apache.karaf.shell.impl.console.HeadlessSessionImpl.execute(HeadlessSessionImpl.java:90) at org.apache.karaf.shell.ssh.ShellCommand$1.run(ShellCommand.java:116) at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_51] at org.apache.karaf.util.jaas.JaasHelper.doAs(JaasHelper.java:103)[44:org.apache.karaf.shell.ssh:4.0.0] at org.apache.karaf.shell.ssh.ShellCommand.run(ShellCommand.java:112)[44:org.apache.karaf.shell.ssh:4.0.0] at java.lang.Thread.run(Thread.java:744)[:1.7.0_51] Caused by: java.lang.IllegalStateException: No service matching org.apache.karaf.shell.api.console.Terminal at org.apache.karaf.shell.impl.action.command.ManagerImpl.instantiate(ManagerImpl.java:91) at org.apache.karaf.shell.impl.action.command.ActionCommand.createNewAction(ActionCommand.java:93)[43:org.apache.karaf.shell.core:4.0.0] ... 15 more