It looks like you don't have the felix.gogo.command bundle loaded.

The framework caches bundles by default, which may be why you can't
deactivate your own bundles.
Try deleting  the cache, or setting
-Dorg.osgi.framework.storage.clean=onFirstInit.

Typing 'bundles' should confirm that felix.gogo.command is not loaded (or
activated).

Derek




On 1 January 2011 19:09, Nicolas Roduit <[email protected]> wrote:

> Only felix and obr commands are not loaded. I have additional commands. I
> tried to deactivate them, but it does not change anything.
>
> I confirm that there is no issue with only the framework starting with java
> -Dgosh.args="-sc telnetd -p 17179 start" -jar bin/felix.jar.
>
> I use the method that embeds the Felix framework into a host application.
>
>
>
> telnet localhost 17179
> Trying ::1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> ____________________________
> Welcome to Apache Felix Gogo
>
> g! set
> null            0               null
> String          SCOPE           gogo:*
> Closure         e               $exception printStackTrace
> HeapCharBuffer  prompt          g!
> g! type
> context:30
> dicom:2
> gogo:20
> osgi:3
> system:28
> weasis:2
> true
> g! felix:lb
> gogo: CommandNotFoundException: Command not found: felix:lb
> g!
>
>
> thanks,
>
> Nicolas
>

Reply via email to