It's all about the answers!

Ask a question

RTC 3.0 RC2 - Client and server versions do not match -


m sawires (1462268) | asked Nov 10 '10, 1:24 p.m.
Hello,
I've installed RTC 3.0 RC2 but when I try to connect to the repository with Java APIs I get the following error
com.ibm.team.repository.client.ServerVersionCheckException: Client and server versions do not match.

at com.ibm.team.repository.client.internal.TeamRepository.checkServerVersionMatches(TeamRepository.java:1657)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1443)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:616)

Does anyone know why?
I'm using the proper url to connect "https://testserver.com:9443/ccm"
Thanks in advance for your help.

18 answers



permanent link
A B (881811) | answered Aug 31 '11, 1:11 p.m.
@Nick

Many thanks for sharing the Info. I followed the links and am able to create the environment and the results look good (Although the arguments part in application launch configuration was little confusing for me. :) )

I still get following errors (looks bcoz of classpath) but now the results looks better.

Aug 31, 2011 4:57:08 PM com.ibm.team.repository.common.util.ExtensionRegistryReader logError
SEVERE: The com.ibm.team.filesystem.common bundle's plugin.xml file contains a <component> element with the id

Once again many thanks for sharing the info.

-Regards,
Achal

The ClientLibrarySetup page is pretty stale, intended for RTC 1.0 development, i.e. it's a child of https://jazz.net/wiki/bin/view/Main/RtcSdk which is for 1.0.

For 2.x see https://jazz.net/wiki/bin/view/Main/RtcSdk20
For 3.x see https://jazz.net/wiki/bin/view/Main/RtcSdk30 (basically the same as 2.x).

For dev env setup, see:
https://jazz.net/wiki/bin/view/Main/RTCSDK20_DevelopmentEnvironmentSetup

permanent link
Nick Edgar (6.5k711) | answered Aug 30 '11, 10:59 a.m.
JAZZ DEVELOPER
The ClientLibrarySetup page is pretty stale, intended for RTC 1.0 development, i.e. it's a child of https://jazz.net/wiki/bin/view/Main/RtcSdk which is for 1.0.

For 2.x see https://jazz.net/wiki/bin/view/Main/RtcSdk20
For 3.x see https://jazz.net/wiki/bin/view/Main/RtcSdk30 (basically the same as 2.x).

For dev env setup, see:
https://jazz.net/wiki/bin/view/Main/RTCSDK20_DevelopmentEnvironmentSetup

permanent link
A B (881811) | answered Aug 30 '11, 10:23 a.m.
Thanks a lot for the Reply Nick!!!

I created a new Java Project in RTC using downloaded client Plain Java libraries as described in:

https://jazz.net/wiki/bin/view/Main/ClientLibrarySetup

I am using this setup to run snippets after doing the changes as mentioned in snippets Readme file. I checked for Plugin com.ibm.team.rtc.common in the Plug-in View but i am not able to find it.I also tried to add the Plug in by following below mentioned path but with no success:

https://jazz.net/library/article/495/

It would be great if you can guide me. Please let me know if some more information is required.

-Regards,
Achal


It should suffice to add the com.ibm.team.rtc.common plugin along with the other client-side plugins you're already using. If that's not clear, please provide more details on how you're deploying / running your snippet.

permanent link
Nick Edgar (6.5k711) | answered Aug 30 '11, 9:54 a.m.
JAZZ DEVELOPER
It should suffice to add the com.ibm.team.rtc.common plugin along with the other client-side plugins you're already using. If that's not clear, please provide more details on how you're deploying / running your snippet.

permanent link
A B (881811) | answered Aug 30 '11, 3:46 a.m.
@Nick

Can you elaborate more on how to add include the said plug-in or maybe give me a pointer. I also get following error when i try to run the shared Snippet 1(Connecting to a repository):

Unable to login: Client and server versions do not match.

Our client and server version is:

Version: 3.0
Build id: RTC-I20101112-1731

Change and Configuration Management - Core Libraries
3.0 (RTC-I20101112-1731)
Jazz Foundation - Core Libraries 3.0 (RJF-I20101112-0630)


Correction: the Foundation clientCompatibilityVersion was bumped to 3.0 in RC3, so this error should only happen with RC2.

I'd still recommend including the com.ibm.team.rtc.common plug-in, though, if you're using any RTC client APIs.

permanent link
William Nelson (11) | answered Jun 09 '11, 11:25 p.m.
Bill, the problem is that you're running the 3.0 version of JBE against a 3.0 iFix 1 server. Please grab the 3.0 iFix 1 version of the Build System Toolkit and try that instead.


Thanks Nick. Installed the proper version and I'm all set. -Bill

permanent link
Nick Edgar (6.5k711) | answered Jun 04 '11, 8:23 a.m.
JAZZ DEVELOPER
Bill, the problem is that you're running the 3.0 version of JBE against a 3.0 iFix 1 server. Please grab the 3.0 iFix 1 version of the Build System Toolkit and try that instead.

permanent link
William Nelson (11) | answered Jun 03 '11, 10:45 p.m.
Hi-

I am in the process of evaluating RTC v3.0. by going through the, "Getting started with Rational Team Concert" tutorial. When I try creating the Prelude Build presented in the tutorial, I get the error below which appears to be similar, if not the same issue in this thread. Is there anything that I can do to resolve it, or workaround the problem so that I can continue with the tutorial? I can provide any additional info that you think might be helpful.

$ ./jbe -vm /home/myhome/IBM/TeamConcert/jdk/bin/java -repository https://myserver:9443/ccm -userid build -pass build -engineId PreludeBuildEngine

2011-06-03 21:32:50 Running build loop...
2011-06-03 21:32:50 Waiting for request...
2011-06-03 21:32:52 CRRTC3538W: Server version check failed: Client and server versions do not match.
CRRTC3529I: Completed JBE execution, RC=1.

System info:
Linux Ubuntu 10.04

Rational Team Concert
Version: 3.0
Build id: RTC-I20110307-1844

Change and Configuration Management - Core Libraries
3.0 iFix 1 (RTC-I20110307-1844)
Jazz Foundation - Core Libraries 3.0 iFix 1 (RJF-I20110307-1521)

Thanks in advance,

-Bill

permanent link
Nick Edgar (6.5k711) | answered May 05 '11, 10:48 a.m.
JAZZ DEVELOPER
Which version of the server are you connecting to and what error do you get back?
If you can, try setting a breakpoint in:
com.ibm.team.repository.client.internal.TeamRepository.getClientVersionString()
and perhaps:
com.ibm.team.repository.common.internal.util.ComponentConfigurationRegistry.buildComponentConfigurationsVersionMap()
to trace through it.

permanent link
Rod Moten (16) | answered May 05 '11, 9:15 a.m.
Correction: the Foundation clientCompatibilityVersion was bumped to 3.0 in RC3, so this error should only happen with RC2.

I'd still recommend including the com.ibm.team.rtc.common plug-in, though, if you're using any RTC client APIs.

This problem also exists in Client Version 3.0.1RC2. I'm using the Eclipse RTC plug-in. com.ibm.team.rtc.common is listed as an installed plug-in. What is the workaround for this scenario?

Your answer


Register or 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.