Troubleshooting ClearQuest OSLC CM REST API
Hello,
I am attempt to access CQ through the RTC's OSLC REST API as explained in this article: https://jazz.net/wiki/bin/view/Main/RcmRestCmApi
Just trying to test out simple stuff, like loading a named record. Whenever I do this, I get an error message response like pasted below. Is there any log file or something I can look at to dig deeper?
PS. I am using RTC 2.0.0.2 w/ CQ Bridge pointing to CQ Web 7.1.0.1 and I know the CQ Bridge is working since I associate Work Items with CQ Records.
I am attempt to access CQ through the RTC's OSLC REST API as explained in this article: https://jazz.net/wiki/bin/view/Main/RcmRestCmApi
Just trying to test out simple stuff, like loading a named record. Whenever I do this, I get an error message response like pasted below. Is there any log file or something I can look at to dig deeper?
<xml>
<Error>
<message>CRVAP0279E The server connection needed to perform 'findRecord (CqExUserDb.doFindRecord)' could not be established or terminated before the operation was completed.</message>
<statusCode>409</statusCode>
<cq>conflict</cq>
<Error>
<message>; nested exception is: java.net.ConnectException: Connection refused</message>
<statusCode>409</statusCode>
</Error>
</Error>
PS. I am using RTC 2.0.0.2 w/ CQ Bridge pointing to CQ Web 7.1.0.1 and I know the CQ Bridge is working since I associate Work Items with CQ Records.
5 answers
This usually is an issue where some settings are not right or there is an issue with firewall blocking requests to CQ's CM Server.
Since the CQ Bridge is working, you may double check the teamserver.properties file and cmserver settings (there is details in the article you gave). You can validate the CQ Web/CM server is accessible from the RTC server by putting the CM server URL via a browser on the RTC server machine such as:
http://<cmserver>:<cmserver>/TeamWeb/services/Team
Since the CQ Bridge is working, you may double check the teamserver.properties file and cmserver settings (there is details in the article you gave). You can validate the CQ Web/CM server is accessible from the RTC server by putting the CM server URL via a browser on the RTC server machine such as:
http://<cmserver>:<cmserver>/TeamWeb/services/Team
See www.open-services.net
From the open-services home page:
Open Services for Lifecycle Collaboration (also known as OSLC or Open
Services) is an open community dedicated to breaking down the barriers
between the tools in the product and application lifecycle by making it
easier to use lifecycle tools in combination.
It also shows you how to contribute to, and take advantage of, the OSLC
API's.
Cheers,
Geoff
On 8/21/2011 2:23 PM, thirugangula wrote:
From the open-services home page:
Open Services for Lifecycle Collaboration (also known as OSLC or Open
Services) is an open community dedicated to breaking down the barriers
between the tools in the product and application lifecycle by making it
easier to use lifecycle tools in combination.
It also shows you how to contribute to, and take advantage of, the OSLC
API's.
Cheers,
Geoff
On 8/21/2011 2:23 PM, thirugangula wrote:
what is OSLC API?
How to work on OSLC API?
Please provide any materia on this.
Thanks in advance.
Cheers....
Thiru