users@grizzly.java.net

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

From: techi_amol <techi_amol_at_yahoo.com>
Date: Fri, 27 Jun 2008 12:35:32 -0700 (PDT)

Hi all,

No rule change as far as i know. To make sure I checked using the "packages"
command on the osgi prompt, it did recognize javax.management as a system
package. Below is the detail that the packages command printed out

javax.management; version="0.0.0"<System Bundle [0]>
  System Bundle [0] imports
 
initial_at_reference:file:plugins/org.eclipse.update.configurator_3.2.100.v20070322.jar/
[15] imports

Maybe you can try to reproduce this. I am running osgi using
org.eclipse.osgi_3.3.0.200704022148.jar. My dir structure looks like this
equinox-osgi-runtime
   \configuration\config.ini
   \plugins\org.eclipse.equinox.common_3.3.0.200704022148.jar
   \plugins\org.eclipse.equinox.registry_3.3.0.v20070318.jar
   \plugins\org.eclipse.osgi.services_3.1.100.200704022148.jar
   \plugins\org.eclipse.update.configurator_3.2.100.v20070322.jar


################################################
#############contents in the config.ini ##################
################################################
#Eclipse Equinox Runtime Configuration File
osgi.bundles=./plugins/org.eclipse.equinox.common_at_2:start,
./plugins/org.eclipse.update.configurator_at_3:start,
./plugins/org.eclipse.equinox.registry_at_start,
./plugins/org.eclipse.osgi.services_at_start
osgi.bundles.defaultStartLevel=4
eclipse.ignoreApp=true
# End of file marker - must be here
eof=eof

Also i should mention this, the way i have created my osgi bundle is by
including the grizzly-servlet-webserver-1.8.0.jar inside the bundle archive
and using Bundle-Classpath attribute in the manifest.


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