[jbosstools-issues] [JBoss JIRA] (JBDS-4595) Unresolved Bundles after install all the stuff from RH Central

Nick Boldt (JIRA) issues at jboss.org
Wed Oct 25 12:22:00 EDT 2017


    [ https://issues.jboss.org/browse/JBDS-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481805#comment-13481805 ] 

Nick Boldt edited comment on JBDS-4595 at 10/25/17 12:21 PM:
-------------------------------------------------------------

Looking at your ALL_EXCEPT files, I see lots of duplicate IUs but many in ~/.eclipse are older than the ones from the RPM. 

Possible reasons for httpclient 4.5.2 conflict:

* o.j.t.openshift.io.core require-bundles httpclient 4.0 - NOT A PROBLEM as any 4.x version would be allowed here

* jmx.jolokia plugin in jbt-server includes 4.5.2 inside a lib/ folder - NOT A PROBLEM, nested jar within a plugin

* o.e.ecf.filetransfer.httpclient4.feature includes org.apache.httpcomponents.httpclient 4.5.2.v20170210-0925
** this is then required by c.j.ds.core.rpmdeps.feature
** but we exclude org.apache.httpcomponents.httpclient from the RPM, so that it can be resolved via symlink:

{code}
#➔  find /opt/rh/rh-eclipse47/root/usr/share/eclipse/droplets/devstudio/ -name "*httpclient*jar" -exec ls -l {} \;

/opt/rh/rh-eclipse47/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.apache.httpcomponents.httpclient_4.3.6.jar -> /opt/rh/rh-java-common/root/usr/share/java/httpcomponents/httpclient.jar

/opt/rh/rh-eclipse47/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.apache.httpcomponents.httpclient.cache_4.3.6.jar -> /opt/rh/rh-java-common/root/usr/share/java/httpcomponents/httpclient-cache.jar
{code}

If you delete your ~/.eclipse folder and install everything from Central again (minus Spring boot wizard, which we know has a bug upstream), one connector at a time, can you determine which connector is causing the conflict?


was (Author: nickboldt):
Looking at your ALL_EXCEPT files, I see lots of duplicate IUs but many in ~/.eclipse are older than the ones from the RPM. 

If you delete your ~/.eclipse folder and install everything from Central again (minus Spring boot wizard, which we know has a bug upstream), one connector at a time, can you determine which connector is causing the conflict?

> Unresolved Bundles after install all the stuff from RH Central
> --------------------------------------------------------------
>
>                 Key: JBDS-4595
>                 URL: https://issues.jboss.org/browse/JBDS-4595
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: central, central-update, rpm
>    Affects Versions: 11.1.0.GA
>            Reporter: Lukáš Valach
>            Assignee: Nick Boldt
>             Fix For: 11.1.0.GA
>
>         Attachments: findPackages.sh, p2browser_org.apache.httpcomponents.httpclient.png, rh-eclipse47-devstudio11.1-0.20171024.0823.el7.log.20171025-0935_strict-ONLY_SPRING_IDE.txt, rh-eclipse47-devstudio11.1-0.20171024.0823.el7.log.20171025-0935_strict-ONLY_SPRING_IDE_packages.txt, rh-eclipse47-devstudio11.1-0.20171024.0823.el7.log.20171025-1005_strict-ALL_EXCEPT_SPRING_IDE.txt, rh-eclipse47-devstudio11.1-0.20171024.0823.el7.log.20171025-1005_strict-ALL_EXCEPT_SPRING_IDE_packages.txt, rh-eclipse47-devstudio4.7.1-5.2.el7.log.20171024-1353_strict.txt, rh-eclipse47-devstudio4.7.1-5.2.el7.log.20171025-1040_strict.txt, rh-eclipse47-devstudio4.7.1-5.2.el7.log.20171025-1105_strict.txt, rh-eclipse47-devstudio4.7.1-5.2.el7.log.20171025-1105_strict.txt
>
>
> Our "Install all from Central" test found some BundleExceptions in the log, see \[1\]. 
> \[1\] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/user/lvalach/my-views/view/My%20Jobs/job/rpm_rh_central_UI_test.weekly/73/jdk=openjdk-1.8,label=rhel7-x64-medium/artifact/eclipse-log-start-after-install.log
> It seems that there are some plugins which are not compatible with each others. The "install one by one" test passed as green \[2\]. So individual plugins work fine.
> \[2\] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/user/lvalach/my-views/view/My%20Jobs/job/rpm_rh_central_p2dir_test.weekly/92/artifact/devstudio-rpm-central.test/test_results/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list