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?
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
Zeeshan, I had RSA 9.5 . I have now updated to RSA 9.5.0.2 iFix 1 and now I have the following plugins
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.client_4.5.0.v20150903_0106
org.apache.http_4.1.100.v20120904_2353
org.apache.http_4.4.1.v20150903_0106
org.apache.httpcomponents.httpclient_4.3.6.v201411290715.jar
org.apache.httpcomponents.httpcore_4.3.3.v201411290715.jar
RTC still didn't work so then I renamed a couple of directories as you suggested in your workaround.
mv org.apache.http.client_4.1.2.20120424 org.apache.http.client_4.1.2.20120424-old
mv org.apache.http_4.1.100.v20120904_2353 org.apache.http_4.1.100.v20120904_2353-old
Now I can successfully connect to RTC. Should I still start eclipse with the -clean option?
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.client_4.5.0.v20150903_0106
org.apache.http_4.1.100.v20120904_2353
org.apache.http_4.4.1.v20150903_0106
org.apache.httpcomponents.httpclient_4.3.6.v201411290715.jar
org.apache.httpcomponents.httpcore_4.3.3.v201411290715.jar
RTC still didn't work so then I renamed a couple of directories as you suggested in your workaround.
mv org.apache.http.client_4.1.2.20120424 org.apache.http.client_4.1.2.20120424-old
mv org.apache.http_4.1.100.v20120904_2353 org.apache.http_4.1.100.v20120904_2353-old
Now I can successfully connect to RTC. Should I still start eclipse with the -clean option?
Comments
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)
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)
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
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
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.
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.
I have the exact same problem. I've installed Software Development Platform (SDP) 9.5 with:
- IBM Rational Software Architect Designer for WebSphere 9.5.0.1
- IBM Rational Developer for z Systems 9.5.1.1
- IBM Rational Business Developer 9.5.0.1
- IBM InfoSphere Data Architect 9.1.3
- IBM Data Studio Client 4.1.2
- IBM Explorer for z/OS 3.0.0.5
- Rational Team Concert - Client for Eclipse 4.2.x 6.0.2
I can't create a repository connection on Jazz Server, with the exact stack strace above.
Comments
Donald Nong
Mar 23 '16, 2:42 a.m.