Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Client Debug problem with WinHttpClients

 Hi Everyone,


  I am upgrading our version of Eclipse to 2020-06.  When I install the base Eclipse IDE for Enterprise Java Developers and then install the RTC Client 6.0.4 Eclipse Plugins from the P2 repository, I encounter the below error when trying to start an Eclipse Application debug session.

org.apache.httpcomponent.httpclient
-- Missing Constratint: Import-Package: org.apache.commons.codec.binary; version="[1.13.0,1.14.0)" (Yes the square bracket and the closing parenthacy are accurate for the message from eclipse)

When I start the same debug without the RTC client, I get no warnings at all.

I can click "continue" and ignore this message and the child Eclipse application will start.  When I do that, and attempt to create a new repository connection, I get the same error as listed in the thread below:
"Unhandled event loop exception:  java.lang.NoClassDefFoundError: org/apache/http/impl/client/WinHttpClients"


Here is the environment I am running in:
OpenJDK 1.8-262
Eclipse 2020-06 
RTC Client 6.0.4 (loaded using P2 repo)
Windows 10 20H2

Any suggestions for ways to resolve this so I can upgrade would be apprecitated.

Thanks,
Bill

0 votes

Comments

 More information on the error stacktrace from the child Eclipse debug session:

Caused by: java.lang.ClassNotFoundException: org.apache.http.impl.client.WinHttpClients cannot be found by com.ibm.team.repository.common.remoteaccess_1.2.4000.v20170426_0030
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:464)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:872)

Steps to reproduce:

  1. Copy Eclipse IDE for Enterprise Java Developers version 2020-06 to c:\eclipse
  2. Update eclipse.ini and change memory to 1024/2048
  3. Update eclipse.ini and change JDK to point to OpenJDK 1.8-262
  4. Start Eclipse
  5. Add P2 repo for RTC Client 6.0.4 (extracted from the zip file)
  6. Create Debug Configuration for Eclipse Application
  7. Click on Plugins Tab and set Launch With to "plug-ins selected below only"
  8. Apply and Debug (Note no errors)
  9. install RTC and repeat test

 Unable to enact this solution as they cannot be installed at the same time
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=416596



One answer

Permanent link

I think I remember to have seen someting similar in a different context. Try using the Vanilla RTC shipped without the P2 install, or create a case with support.

0 votes

Comments

Hi Ralph.


Can the Vanilla RTC be accessed from within Eclipse or is that the command line version? 

On the all downloads page is a complete install of an Eclipse client with RTC installed, as ZIP file. Install that one. It has all you want. It is called Client for Eclipse 4.2.x IDE download https://jazz.net/downloads/rational-team-concert/releases/6.0.4/RTC-Client-Win64-6.0.4.zip
If you have problems there -> support.

In the past there have been RTC clients missng some features of the PDE, but that is not the case any more. Just try the complete RTC Client zip that does not need the P2 install. If that does not work, ask support.


Thanks :).  Appreciate the time as always! 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 2,357

Question asked: Mar 23 '21, 11:02 a.m.

Question was seen: 1,591 times

Last updated: Mar 23 '21, 4:23 p.m.

Confirmation Cancel Confirm