1 Reply Latest reply: Sep 22, 2011 10:52 AM by David Bosschaert RSS

JBOSS 7 - Osgi Bundles not present in JNDI TREE


I have a bundle in JBOSS7 Bundle Repository.


I want to lookup it from a WAR class through JNDI, but in my JBOSS7.0.1.Final AS there is no trace of osgi resources in JNDI tree.

In JNDI tree I found only "java:" and "java:jboss".


I think that when I deploy a bundle  the AS should add the "osgi:" leaf to the tree.

Osgi Alliance specific says that when an osgi bundle is deployed it should be reachable throw JNDI...

Why not?


Any ideas?

Thanks a lot!