I am creating a JNDI alias in Karaf using the jndi:alias command and have
noticed that this alias is not persistent between Karaf restarts. The same
is true when using the jndi:bind command to directly bind an OSGi service to
the JNDI context. I assume that this is because the underlying OSGi service
is un-registered and re-registered in the meantime, but I would expect to be
somehow able to bind OSGi services to the JNDI in a persistent way since
otherwise I can't really use the JNDI asmy service won't be there after
restarting Karaf. Am I perhaps missing something? Is there a way to create a
JNDI alias in a persistent way?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Persistent-JNDI-names-aliases-tp4031846.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to