users@glassfish.java.net

Re: OSGI Web bundle

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 20 Oct 2009 16:39:12 +0530

Pavel Kuzin wrote:
> I was tried to look Spring extender sources for this point.
>
> Seems osgi-web-container tries to deploy webapp in STARTING state.
Correct.
> And then Spring osgi extender tries to extend bundle in STARTED state.
>
> And in this case, my webapp does not see Spring DM bundle context,
> because it
> is not yet loaded.
How are you trying to access Spring DM bundle context from your web app?
Does Spring osgi extender raise any event after it has finished
processing? If yes, can you wait for that event before trying to access
Spring specific context?

Thanks,
Sahoo