RTC 6.0.1 does not work on RSAD 9.5? CANNOT FIND CLASSES and NOT REPORT ERROR ANYWAY
![]()
What I do:
a) Start the RSAD b) File->Accept Team Invitation-->connecting to an existing project area Following is from .metadata/.log $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ !SESSION 2016-03-18 08:53:42.770 ----------------------------------------------- eclipse.buildId=unknown java.fullversion=JRE 1.8.0 IBM J9 2.8 Windows 7 amd64-64 Compressed References 20160106_284759 (JIT enabled, AOT enabled) J9VM - R28_20160106_1341_B284759 JIT - tr.r14.java_20151209_107110.02 GC - R28_20160106_1341_B284759_CMPRSS J9CL - 20160106_284759 BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product com.ibm.rational.rsa4ws.product.v95.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.ibm.rational.rsa4ws.product.v95.ide !ENTRY org.eclipse.emf.ecore 2 0 2016-03-18 08:54:41.570 !MESSAGE Both 'com.ibm.xtools.rit.model' and 'com.ibm.xtools.wadl.model' register a package for 'http://rational.software.architect' !ENTRY org.eclipse.ui 4 0 2016-03-18 08:56:48.720 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NoClassDefFoundError: org.apache.http.conn.HttpClientConnectionManager at com.ibm.team.repository.client.login.AbstractLoginInfo.isWindowsAuthPossible(AbstractLoginInfo.java:31) ........................ Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.HttpClientConnectionManager cannot be found by com.ibm.team.repository.common.remoteaccess_1.2.2000.v20151012_2343 any idea? |
8 answers
![]()
I have the exact same problem. I've installed Software Development Platform (SDP) 9.5 with:
I can't create a repository connection on Jazz Server, with the exact stack strace above.
|
![]()
I am seeing similar issue with RSA 9.5, how I can fix it ?
|
![]()
I have the same problem using RSA 9.5 and RTC 6.0.1. Is there a solution?
|
![]()
Please attempt this workaround:
In the plugins folder (Example) 1. C:\Program Files\IBM\IBMIMShared\plugins\org.apache.http.client_4.1.2.20120424 2. C:\Program Files\IBM\IBMIMShared\plugins\org.apache.http.client_4.5.0.v20150903_0106 There are two versions of the same libraries. Rename the No.1 (which is the oldest one ) to old example: C:\Program Files\IBM\IBMIMShared\plugins\org.apache.http.client_4.1.2.20120424-old Also rename the following in same plugins folder. C:\Program Files\IBM\IBMIMShared\plugins\org.apache.commons.httpclient_3.1.0.v201012070820.jar to org.apache.commons.httpclient_3.1.0.v201012070820.jar-old so there should be this below version available there only for the jar which is: org.apache.commons.httpclient_3.1.0.v201005080502.jar Run the eclipse with -clean option and attempt to connect to RTC server. |
![]()
Zeeshan, the workaround will not work for me because I do not have duplicate jar files at different levels. Here is what is in my IBMIMShared/plugins folder
ls $HOME/IBM/IBMIMShared/plugins | grep org.apache | grep http org.apache.commons.httpclient_3.1.0.v201012070820.jar org.apache.http.client_4.1.2.20120424 org.apache.http_4.1.100.v20120904_2353 org.apache.httpcomponents.httpclient_4.3.6.v201411290715.jar org.apache.httpcomponents.httpcore_4.3.3.v201411290715.jar |
![]()
Which version of RAD you are using. I think the extra libs are added via 9502-iFix001.
Could you apply the latest iFix for RAD and try. We are working out a way to get this fixed OOTB. Once the defect is opened with the right product I will add it here for reference. |
![]()
actually I realized you do not need to rename anything. If you have the correct version of libraries installed that are required by both RTC or RSAD 9.5.0.2 iFix001 , then a simple -clean start of eclipse picks up the correct libraries to load the classes:
if you install RSAD 9.5.0.2 iFix 001 directly , then there is only one version of this library available: C:\Program Files\IBM\IBMIMShared\plugins\org.apache.http.client_4.5.0.v20150903_0106 Installing RSAD 9.5 without any iFix first and then updating it results in getting two versions of the libraries. org.apache.http.client_4.1.2.20120424 <-- added by RSAD 9.5 install org.apache.http.client_4.5.0.v20150903_0106 <--- added by RSAD update to 9.5.0.2 iFix01 If you do not update RSAD to 9.5.0.2 and install RTC 6.0.1 using installation manager , You will also get the org.apache.http.client_4.5.0.v20150903_0106 version of the library added to the plugins folder. Now since both tools needs just one, Starting Eclipse -clean option resolves all issues. Latest version of the library is getting loaded for classes after using -clean. This has been fixed under: RTC plugins referencing org.apache.http.client and org.apache.http should have proper version tolerances defined (391205) |
Comments
Do you happen to have two copies of the Apache HTTP client library (of different versions) installed in the same Eclipse base?