I think the manual is a bit outdated, but the following one should work:
   
http://karaf.apache.org/manual/2.1.99-SNAPSHOT/developers-guide/extending-console.html

FWIW, your problem is caused by a wrong namespace, if you change
    http://felix.apache.org/karaf/xmlns/shell/v1.0.0
to
    http://karaf.apache.org/xmlns/shell/v1.0.0
it should work better.
The namespace have changed since Karaf graduated as a TLP and so since
the 2.x version.

On Fri, Nov 19, 2010 at 18:56, Irad Dor <[email protected]> wrote:
>
> Hi,
> I have been trying to follow the shell extension example here:
> http://karaf.apache.org/61-extending-the-console.html. This is on a
> 2.1.1 karaf server.
>
> When loading my bundle, it goes into grace period, and I see these
> messages when enabling debug on the log (below).
>
> It seems that the org.apache.karaf.shell.osgi is the issue.
>
> Can you help?
>
> Thanks,
> Irad.
>
> 19:13:43,097 | WARN  | rint Extender: 3 | BlueprintContainerImpl
> | container.BlueprintContainerImpl  252 | 7 - org.apache.aries.blueprint
> - 0.2.0.incubating | Bundle load-server is waiting for namespace
> handlers
> [(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.servic
> e.blueprint.namespace=http://felix.apache.org/karaf/xmlns/shell/v1.0.0))
> ]
>
> 19:13:43,098 | DEBUG | rint Extender: 3 | BlueprintEventDispatcher
> | ntainer.BlueprintEventDispatcher  123 | 7 - org.apache.aries.blueprint
> - 0.2.0.incubating | Sending blueprint container event
> BlueprintEvent[type=GRACE_PERIOD,
> dependencies=[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler
> )(osgi.service.blueprint.namespace=http://felix.apache.org/karaf/xmlns/s
> hell/v1.0.0))]] for bundle load-server
>
> 19:13:43,098 | DEBUG | nt Dispatcher: 1 | BlueprintListener
> | raf.shell.osgi.BlueprintListener   85 | 22 -
> org.apache.karaf.shell.osgi - 2.1.1 | Blueprint app state changed to
> GracePeriod for bundle 65
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to