[
https://issues.apache.org/jira/browse/KARAF-5105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982960#comment-15982960
]
ASF GitHub Bot commented on KARAF-5105:
---------------------------------------
GitHub user tlnd-fcurvat opened a pull request:
https://github.com/apache/karaf/pull/295
KARAF-5105 workaround bin/shell parameters issue
Hi.
This quick workaround patch works fine for me.
Not sure this is perfect, however i propose this if it can help...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tlnd-fcurvat/karaf KARAF-5105
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/295.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #295
----
----
> Issue with bin/shell command in karaf 4.1.1
> -------------------------------------------
>
> Key: KARAF-5105
> URL: https://issues.apache.org/jira/browse/KARAF-5105
> Project: Karaf
> Issue Type: Bug
> Components: karaf-management
> Affects Versions: 4.1.1
> Environment: linux
> Reporter: Frédéric CURVAT
>
> Hello,
> When i try to run this simple bin/shell command i get the exception :
> $ bin/shell 'wrapper:install --help'
> [org.apache.karaf.shell.impl.console.ConsoleSessionImpl] : completionMode
> property is not defined in etc/org.apache.karaf.shell.cfg file. Using default
> completion mode.
> [org.apache.karaf.shell.support.ShellUtil] : Command exception (Undefined
> option, ...)
> org.apache.karaf.shell.support.CommandException: Too many arguments specified
> at
> org.apache.karaf.shell.impl.action.command.DefaultActionPreparator.prepare(DefaultActionPreparator.java:160)
> at
> org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)
> at
> org.apache.karaf.shell.impl.console.CommandWrapper.execute(CommandWrapper.java:53)
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:560)
> at
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:486)
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:375)
> at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417)
> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Error executing command wrapper:install: too many arguments specified
> This is happening on 4.1.1, it did not happen on 4.0.7.
> Regards,
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)