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!
Hi Diego,
You are right, this part of the OSGi-JNDI spec is not yet done, you can track the progress here https://issues.jboss.org/browse/JBOSGI-81
Best regards,
David