Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17414

Install Grinder fails to install JBT & JBDS (including org.eclipse.jpt.dbws.eclipselink.ui) due to multiple conflicting exported javax.xml.bind versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.2.0.Beta3
    • 4.2.0.Beta2, 4.2.0.Beta3
    • arquillian, build, qa
    • None

      Log:

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_8.0.luna/job/jbosstools-install-grinder.install-tests.matrix_4.2.luna/INSTALL_PLAN=http%3A%2F%2Fwww.qa.jboss.com%2Fbinaries%2FRHDS%2Fdiscovery%2Fnightly%2Fcore%2F4.2.luna%2F%3Bhttp%3A%2F%2Fwww.qa.jboss.com%2Fbinaries%2FRHDS%2Fdiscovery%2Fnightly%2Fcore%2F4.2.luna%2Fdevstudio-directory.xml=-org.zeroturnaround.eclipse.feature,eclipseBundleVersion=luna.M7,jdk=java17_default,label_exp=%28RHEL7||RHEL6||beaker||jboss-prod%29%26%26!ia64%26%26!rhts/71/console

      Issue:

      bundle javax.xml.bind is exported from two different plugins in the Luna M7 repo:

      • org.eclipse.persistence.dbws.builder_2.6.0.v20130815-a4708b6.jar (Import AND Export)
      • javax.xml.bind_2.1.9.v201005080401.jar (Export)

      Also available is a newer javax.xml.bind:

      • javax.xml.bind_2.2.0.v201105210648.jar (Export)
      09:17:39 org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jpt.dbws.eclipselink.ui [391]
      09:17:39   Bundle was not resolved because of a uses contraint violation.
      09:17:39   org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.jpt.dbws.eclipselink.ui [osgi.identity; osgi.identity="org.eclipse.jpt.dbws.eclipselink.ui"; type="osgi.bundle"; version:Version="1.1.100.v201310142259"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140428-1446"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"] via two dependency chains.
      09:17:39 
      09:17:39 Chain 1:
      09:17:39   org.eclipse.jpt.dbws.eclipselink.ui [osgi.identity; osgi.identity="org.eclipse.jpt.dbws.eclipselink.ui"; type="osgi.bundle"; version:Version="1.1.100.v201310142259"; singleton:="true"]
      09:17:39     require: (&(osgi.wiring.bundle=org.eclipse.wst.common.project.facet.ui)(&(bundle-version>=1.3.0)(!(bundle-version>=2.0.0))))
      09:17:39      |
      09:17:39     provide: osgi.wiring.bundle: org.eclipse.wst.common.project.facet.ui
      09:17:39   org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140428-1446"; singleton:="true"]
      09:17:39 
      09:17:39 Chain 2:
      09:17:39   org.eclipse.jpt.dbws.eclipselink.ui [osgi.identity; osgi.identity="org.eclipse.jpt.dbws.eclipselink.ui"; type="osgi.bundle"; version:Version="1.1.100.v201310142259"; singleton:="true"]
      09:17:39     require: (&(osgi.wiring.bundle=org.eclipse.persistence.dbws.builder)(&(bundle-version>=2.3.0)(!(bundle-version>=3.0.0))))
      09:17:39      |
      09:17:39     provide: osgi.wiring.bundle; osgi.wiring.bundle="org.eclipse.persistence.dbws.builder"; bundle-version:Version="2.6.0.v20130815-a4708b6"
      09:17:39   org.eclipse.persistence.dbws.builder [osgi.identity; osgi.identity="org.eclipse.persistence.dbws.builder"; type="osgi.bundle"; version:Version="2.6.0.v20130815-a4708b6"]
      09:17:39     import: (osgi.wiring.package=javax.xml.bind)
      09:17:39      |
      09:17:39     export: osgi.wiring.package: javax.xml.bind
      09:17:39   javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"]
      09:17:39 	at org.eclipse.osgi.container.Module.start(Module.java:434)
      09:17:39 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
      09:17:39 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
      09:17:39 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
      09:17:39 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
      09:17:39 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
      09:17:39 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      09:17:39 	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

      Why is the install test using the whole Kepler site? (Suspect it's because that's what's available within Eclipse - maybe we should disable it?)

            mistria@redhat.com Mickael Istria
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: