users@glassfish.java.net

OSGI Web bundle

From: Pavel Kuzin <pk_at_nodex.ru>
Date: Tue, 20 Oct 2009 12:46:18 +0400

Hello!

I`m trying to migrate from Spring DM Server to Glassfish v3 with OSGI.
I`m successfully deployed my OSGI bundles ( parts of application).
And when i`m trying to install last Web Bundle then Glassfish`s osgi-web-container
tries to activate web application before bundle context is activated and initialised.
I have installed Spring osgi extender, and it activates bundle beans on bundle start-up.

We have now

1. Deploy
2. Activate webapp
3. get a error, because bundle context is not activated and application does not have initialised beans.


What i want
1. Deploy
2. Activate bundle context.
3. Init webapp.

Help me please.
How i can do this thing?


Thank you for your replyes.

-- 
Pavel D. Kuzin
pk_at_nodex.ru
Nodex LTD.
Saint-Petersburg, Russia