users@glassfish.java.net

Re: V3 and getting at the Felix.

From: Sahoo <sahoo_at_sun.com>
Date: Mon, 01 Sep 2008 22:42:33 +0530

1. Use latest promoted builds of V3, those

"Bundle symbolic name and version are not unique's"

messages won't appear anymore.

2. We plan to ship remote shell plugin in addition to tui. There is no
current plan to ship bundlerepository bundle or gui shells.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> Arun Gupta has a good blog entry on how to do this.
>
> http://weblogs.java.net/blog/arungupta/archive/2008/06/totd_34_using_f.html
>
> Can run either with the tui console or the gui using either
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.tui.jar
> or
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.bundlerepository-1.1.0-SNAPSHOT.jar \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.gui-0.9.0-SNAPSHOT.jar \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.gui.plugin-0.9.0-SNAPSHOT.jar
>
> It would be good if the gui, gui.plugin and bundlerepository jars were included with the Felix in V3.
>
> However no matter how it is run it logs a series of "Bundle symbolic name and version are not unique's" for the osgi components xxxx-0.3.8.jar's.
>
> If I set up a Felix profile from scratch and add the 0.3.8's and the fuji JBI OSGi framework, I don't get the same errors. I get
>
> HK2 OSGi Adaptor: Activator start error.
>
> But the fuji JBI OSGi framework is active and components like Sun HL7 binding and my dependent composite app started and active.
>
>
> The C:\glassfish-v3-prelude-b15b\glassfish error log below.
> .......
> Sep 1, 2008 9:21:07 AM OSGiFactoryImpl initialize
> INFO: Singleton already initialized as com.sun.enterprise.module.impl.HK2Factory
> @2f3adc56
> org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
> que.
> at org.apache.felix.framework.Felix.createModule(Felix.java:3432)
> at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3353)
> at org.apache.felix.framework.Felix.installBundle(Felix.java:2333)
> at org.apache.felix.framework.Felix.installBundle(Felix.java:2247)
> at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
> extImpl.java:132)
> at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont
> extImpl.java:110)
> at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModul
> esRegistryImpl.java:90)
> at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.get
> Modules(AbstractModulesRegistryImpl.java:344)
> at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
> ateHabitat(AbstractModulesRegistryImpl.java:134)
> at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)
>
> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:113)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:591)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1629)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1563)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
> 35)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267
> )
> at java.lang.Thread.run(Thread.java:619)
> Sep 1, 2008 9:21:10 AM OSGiModulesRegistryImpl add
> WARNING: Exception org.osgi.framework.BundleException: Could not create bundle o
> bject. while adding location = file:/C:/glassfish-v3-prelude-b15b/glassfish/modu
> les/osgi-adapter-0.3.8.jar
> org.osgi.framework.BundleException: Bundle symbolic name and version are not uni
> que.
> at org.apache.felix.framework.Felix.createModule(Felix.java:3432)
> .......
> [Message sent by forum member 'rimartin7' (rimartin7)]
>
> http://forums.java.net/jive/thread.jspa?messageID=296549
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>