[jbosstools-issues] [JBoss JIRA] (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

Mickael Istria (JIRA) issues at jboss.org
Mon May 26 10:53:57 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mickael Istria closed JBIDE-17414.
----------------------------------

    Resolution: Cannot Reproduce Bug


Install Grinder seems to be working well.
I guess the previous failures were happening because the various sites weren't fully up-to-date since previous Beta.

> Install Grinder fails to install JBT & JBDS (including org.eclipse.jpt.dbws.eclipselink.ui) due to multiple conflicting exported javax.xml.bind versions
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-17414
>                 URL: https://issues.jboss.org/browse/JBIDE-17414
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, qa, testing-tools
>    Affects Versions: 4.2.0.Beta2, 4.2.0.Beta3
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 4.2.0.Beta3
>
>
> 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)
> {code}
> 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){code}
> 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?) 



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list