Hi,
    In the past, we have a magic attribute configurationBaseUrl which will
be injected while starting the gbeans. After moving to OSGI environment, it
is removed as all the components are running in OSGI cache.
While looking at some web service codes, it is still refered in many places.
And in the new OSGi environment, it should be replaced with something like
bundle.getEntry etc. But before doing those changes, I am thinking to
recover the configurationBaseUrl attribute temporary, using
-->
URL baseURL = configuration.getBundle().getEntry("/");
gbeanData.setAttribute("configurationBaseUrl", baseURL);
<---
In my environment, it works.
Any thought ?

-- 
Ivan

Reply via email to