users@glassfish.java.net

Glassfish 3.1-b24 does not run on Equinox

From: <glassfish_at_javadesktop.org>
Date: Sun, 17 Oct 2010 12:29:32 PDT

Following the instructions in http://weblogs.java.net/blog/2009/05/30/running-glassfish-other-osgi-platforms, I tried running Glassfish 3.1-b24 on Equinox (org.eclipse.osgi_3.6.1.R36x_v20100806.jar).

This fails with the following exception:

[#|2010-10-17T20:40:24.346+0200|SEVERE|glassfish3.1|null|_ThreadID=17;_ThreadName=Thread-1;|Caused by: org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.glassfish.registration.glassfish-registration_3.1.0.b24 [204]|#]

After removing this bundle from the modules folder, clearing the osgi-cache and restarting, the framework starts and immediately shuts down without any error message.

Finally, with some trial and error, I found out that keeping the registration bundle but removing the 3 felix.gogo bundles seems to do the trick, but I don't really understand what's going on here...

Best regards,
Harald
[Message sent by forum member 'hwellmann']

http://forums.java.net/jive/thread.jspa?messageID=485386