dev@glassfish.java.net

ASMain() does not work in OSGi mode

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Mon, 23 Jun 2008 10:37:33 -0700

Sahoo/Jerome,

In glassfish JRuby gem the v3 bootstrap happens thru ASMain.main(args).
The args are the options that user might have passed, such as num of
runtimes, context etc, which results into StartupContext inside
ASMainOSGi or in the HK2 mode, inside bootstrap.Main (hk2.jar).

With HK2 it works fine but with OSGi I dont think there is any code that
passes on StartupContext anywhere.

I need this fixed with ASMainFelix/ASMainOSGi in order to make gem OSGi
aware, till then the gem is only going to run in HK2 mode.


-vivek.