users@glassfish.java.net

Running Glassfish in an existing Felix Installation

From: <glassfish_at_javadesktop.org>
Date: Sat, 27 Feb 2010 06:33:43 PST

I'm trying to run glassfish (the latest V3 release) within our existing Felix installation (Version 2.0.1). I've tried using Sahoo's embeddedgf deployer, but I'm having problems. I'm also using Felix's web admin console. When I start the embeddedgf bundle, in installs all of the GF bundles, but they are all in the 'installed' state and GF doesn't seem to be running (I can't connect to the admin console or the root page). If I try to start all the bundles, some start and some don't, but I still can't access GF. Has anyone tried this with successful results?

When I modified the embeddedgf deployer to start all the bundles, the only error I see in the log is:

INFO | jvm 1 | 2010/02/26 18:22:48 | org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.admin.cli-optional [1174]: package; (package=com.sun.enterprise.admin.servermgmt.services)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
INFO | jvm 1 | 2010/02/26 18:22:48 | at sahoo.embeddedgf.GFActivator.startBundles(GFActivator.java:177)
INFO | jvm 1 | 2010/02/26 18:22:48 | at sahoo.embeddedgf.GFActivator.start(GFActivator.java:86)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:639)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:286)
INFO | jvm 1 | 2010/02/26 18:22:48 | at org.apache.felix.shell.remote.Shell.run(Shell.java:109)
INFO | jvm 1 | 2010/02/26 18:22:48 | at java.lang.Thread.run(Thread.java:619)

Or, has anyone tried deploying the Felix Web Console to GF's Felix?

Thanks,
 Larry
[Message sent by forum member 'ltouve' (ltouve_at_potomacfusion.com)]

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