It's all about the answers!

Ask a question

Can I get "about RTC" programatically?


Hakki Bozkurt (1631228) | asked May 28 '14, 9:58 a.m.
We are using Rational Team Concert Version: 4.0.2 Build id: RTC-I20130222-1633
Some people are very stubborn and they wants to use the old version. Version: 3.0.1.2 Build id: RTC-I20111208-1025

I want to control it. 

When an user were trying to save a work item, RTC give an error i think.
"your RTC is not  in current version. please upgrade to latest version."

But, i need get RTC version or build id. Can i get it? 

Accepted answer


permanent link
Sumant Renukarya (1.1k23339) | answered May 28 '14, 10:27 a.m.
Hi Hakki

In this case, when it fails it tells that the RTC client version is not at the same level as the RTC server version and to continue, user needs to update the client version. 

Perhaps this thread should help:

https://jazz.net/forum/questions/138532/is-there-any-way-to-know-what-client-versions-are-connecting-to-rtc

There isn't a way to fetch the details on what users are using old client versions yet. I'm sure there is an RFE for this. 

-Sumant

Hakki Bozkurt selected this answer as the correct answer

Comments
Hakki Bozkurt commented May 29 '14, 3:29 a.m.

Hi Sumant,

Thank you for your useful answer.

One other answer



permanent link
Donald Nong (14.5k414) | answered May 29 '14, 3:46 a.m.
Just for your information, most of the time when the RTC Eclipse client interacts with the Jazz server, it sends out the client version to the server in the HTTP header "X-com-ibm-team-configuration-versions". Here is a sample of such HTTP headers sent from an RTC 3.0.1 client.
GET /ccm/service/com.ibm.team.repository.common.transport.IDirectWritingContentService/_sj3TsObxEeOd69iDrunehg HTTP/1.1
http.useragent: com.ibm.team.repository.transport.client.RemoteTeamService
Accept-Charset: UTF-8
Accept-Language: en-AU
X-com-ibm-team-userid: dnong
X-com-ibm-team-service-version: 1
X-com-ibm-team-configuration-versions: com.ibm.team.jazz.foundation=3.0.1,com.ibm.team.rtc=3.0.1
Authorization: jauth user_token=8645eaf662fe49f19ba2bb2d2dffcf19
User-Agent: Jakarta Commons-HttpClient/3.1
And another one from an RTC 4.0.6 client.
GET /ccm/versionCompatibility?clientVersion=4.0.6 HTTP/1.1
http.useragent: com.ibm.team.repository.transport.client.RestClientConnectionBase
X-Requested-With: com.ibm.team.repository.transport.client.RestClientConnectionBase
Accept: text/xml
Accept-Charset: UTF-8
Accept-Language: en-AU
X-com-ibm-team-userid:
Authorization: jauth user_token=_IXM58OcBEeOM7M0tF7T6vA
X-com-ibm-team-configuration-versions: com.ibm.team.jazz.foundation=4.0.6,com.ibm.team.rtc=4.0.6
User-Agent: Jakarta Commons-HttpClient/3.1
If instead you want to get the version of the server, just send a request "/ccm/service/com.ibm.team.repository.service.internal.IProductRegistryRestService/allProductInfo" to the server




Comments
Hakki Bozkurt commented May 29 '14, 3:57 a.m.

Hi Donald,
Thank you for your reply, its really useful and i learn it yesterday.

But, this answer more useful than yours for me. and simple for me.
Thanks again.


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.