users@grizzly.java.net

Running grizzly-servlet-webserver-1.8.0.jar in nOSGI environment

From: techi_amol <techi_amol_at_yahoo.com>
Date: Thu, 26 Jun 2008 13:30:58 -0700 (PDT)

Hi All,

i am pretty new to grizzly. And we are evaluation the option of using
grizzly in our osgi env.
I am able to successfully run my servlet using the standalone mode of
grizzly-servlet-webserver-1.8.0.jar.
Now i want to the same in equinox OSGI env.

The way i was planning to do it was to write a BundleActivator and call the
ServletLauncher class from the Activator.start() method with the right
parameters set to start the framework. However, if the osgi framework
uninstalls my bundle or stops it i need to gracefully shutdown the grizzly
framework. Whats the way to so that? Any sample code will be appreciated

cheers
a.
-- 
View this message in context: http://www.nabble.com/Running-grizzly-servlet-webserver-1.8.0.jar-in-nOSGI-environment-tp18142353p18142353.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.