Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-83

The multibundle distribution fails to start on Equinox

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.1
    • None
    • None
    • None

    Description

      I followed the instructions for running the multibundle distribution using Equinox.

      When the framework comes up, listing the bundles shows this:

      34 ACTIVE cxf-dosgi-ri-discovery-local_1.3.0.SNAPSHOT
      35 INSTALLED cxf-dosgi-ri-dsw-cxf_1.3.0.SNAPSHOT
      36 ACTIVE cxf-dosgi-ri-topology-manager_1.3.0.SNAPSHOT

      Attempting to start bundle 35 leads to:

      osgi> start 35
      org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Package uses conflict: Import-Package: org.apache.cxf; version="2.2.0"
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
      at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:253)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)
      at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)
      at java.lang.Thread.run(Thread.java:637)

      The behaviour is the same in both trunk and the most recent release.
      The multibundle distribution runs fine on a Felix platform.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zoe Zoe Slattery
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: