Hi Alex,

List and Restart Commands are packaged within the same bundle

https://github.com/apache/karaf/tree/master/bundle/core/src/main/java/org/apache/karaf/bundle/command

Do you have more info within the stack trace ?

Regards,

On Tue, Apr 26, 2016 at 6:55 PM, Alex Soto <alex.s...@envieta.com> wrote:

> Hello,
>
> Running Karaf 4.0.3, and pax-exam 4.7.0.
> From my pax-exam integration test I have no problem running command
> “bundle:list”, however, on the next line, I try to run “bundle:restart” and
> get exception:
>
> org.apache.felix.gogo.runtime.CommandNotFoundException: Command not
> found: bundle:restart
>
> I assume that all bundle commands are deployed by the same feature, so why
> is *list* is available and not *restart*?
> Is there something else I need to do to get access to the *restart *
> command?
>
> Best regards,
> Alex soto
>
>
>
>


-- 
Charles Moulliard
Apache Committer & PMC / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to