Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Setting up bridge between RTC 2.0 Beta 2 and RQM 2.0 Beta 2

Hi,

I'm following the instructions in https://jazz.net/help-dev/rational-quality-manager/index.jsp under topic Setting up work item and defect integration with Rational Team Concert to setup the bridge between the 2 tools.

I verified I can get to each tool from the other's server. I set up the Cross-Server communication and approved the Key request in RTC.

I setup the public uri value with https://<hostname>:9443/jazz in both RTC and RQM, where <hostname> was the host for each of the tools.

Finally I went into the RQM project to setup the Linkage, but got the following error:

Unable to load URL: /jazz/proxy?uri=https%3A%2F%2F9.30.55.61%3A9443%2Fjazz%2Foslc%2Fworkitems%2Fcatalog, Status: 500

At some point I was able to get past this and actually see the RTC project area and select it, but after hitting OK on the Linkage page I got the following error on the screen:

Creating Project Area back link failed

Any ideas on what I'm doing wrong. Everything was going good until I got to the Linking step.

0 votes



13 answers

Permanent link
I have the same issue "Creating project area back link failed." I tried the clear cookies and cache with same result.

I have RTC and RQM installed on the same host with ports 9080/9443 for RTC and 9081/9444 for RQM. Everything goes per instructions until the last step. After adding the link and clicking Save I get the Creating project area back link failed.

When I attempt to delete the link (that didn't work) I get:

Deleting project area back link failed.

Unable to load URL: /jazz/proxy?uri=https%3A%2F%2Flocalhost%3A9443%2Fjazz%2Fprocess%2Fproject-areas%2F_T-bNYFzcEd6KOfkWQwiMKg%2Flinks%3Ftype%3Dimplements%26resource%3Dhttps%3A%2F%2Frqm%3A9444%2Fjazz%2Fprocess%2Fproject-areas%2F_stJVgGfqEd24KMoDcFLfcQ, Status: 404

0 votes


Permanent link
Hi,

I'm following the instructions in https://jazz.net/help-dev/rational-quality-manager/index.jsp under topic Setting up work item and defect integration with Rational Team Concert to setup the bridge between the 2 tools.

I verified I can get to each tool from the other's server. I set up the Cross-Server communication and approved the Key request in RTC.

I setup the public uri value with https://<hostname>:9443/jazz in both RTC and RQM, where <hostname> was the host for each of the tools.

Finally I went into the RQM project to setup the Linkage, but got the following error:

Unable to load URL: /jazz/proxy?uri=https%3A%2F%2F9.30.55.61%3A9443%2Fjazz%2Foslc%2Fworkitems%2Fcatalog, Status: 500

At some point I was able to get past this and actually see the RTC project area and select it, but after hitting OK on the Linkage page I got the following error on the screen:

Creating Project Area back link failed

Any ideas on what I'm doing wrong. Everything was going good until I got to the Linking step.


I forgot another point in above reply:
3. The alias name is being used instead of the public uri.
This could happen when there is alias name defined for your machine. For example, when your public uri is https://<ip>:9443/jazz, the host name for your IP is actually *.ibm.com. In this case, you'd better set up the host name in server -> jazz advantaged properties -> search 'host name' and let it the same as in your public uri..


Thank you for the reply.

I'm noticing on my RQM console the following message when trying to add a link:

HttpException while processing OAuth information: Invalid consumer key. Consumer may not be registered

I looked up the friendsconfig.rdf file and noticed several entries in there. I deleted them all and redid that step and verified only 1 entry exists now. I recycled the web server but the message still appears.

I also added the public uri value to Host Name under Server - Advanced Properties as you suggested.

The additional message attached to the 500 error stated :

The proxy is not configured to allow the request to https://9.30.55.61:9443/jazz/oslc/workitems/catalog,


Any other thoughts on what's going wrong withe the keys? It's behaving as the instructions state and I approve the request in RTC.

You might need to restart the server after you delete the old entries and reset up the new one. This is a known limitation. Let me know if this works for you.

I restarted the server and no longer get the error, but I'm not sure if that's because I took a step forward or a step backward.

When I try and add a link to the RQM Project I get a popup with the login page for RTC, which is good because that's what I"m trying to connect to. But when I type in my admin id/password and try to login I get a Connection Interrupted message in Firefox everytime. Same happens in IE.

Should I be getting this popup asking me to login to the RTC server?

The address of the pop-up is https://<server>:9443/jazz/auth/authrequired

Yes, this is intended. RQM server is accessing remote RTC data under authorization of RTC user. In this way, RQM doesn't have to know of your id/pw in RTC - This is an open API authentication technique, OAuth.

Thanks Goshen.

I'm still getting the error message after attempting to authenticate to RTC. This occurs on 3 different machines with both IE and Firefox, and it happens almost instantly after trying to authenticate. The IE error message states it's something in Tomcat. I accessed the Server.XML file and checked the timeout settings, which were all fine.

Did your team encounter this while testing?





HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser

--------------------------------------------------------------------------------

type Status report

message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser

description The client did not produce a request within the time that the server was prepared to wait (The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser).


--------------------------------------------------------------------------------

Apache Tomcat/5.5.23



I'm also seeing this error in Firefox when trying to authenticate. This is after I type in my id/password and hit Login:

Invalid path to authentication servlet.: /j_security_check



https://<server>:9443/jazz/auth/j_security_check

I din't hit this before but I would suggest delete the cache/cookie in your browser and then do it again. It might help.

These wiki pages are also worthy read.
https://jazz.net/wiki/bin/view/Main/CALMRTCRQMSmokeInstall
https://jazz.net/wiki/bin/view/Main/CALMRTCSmokeSetUp

Thank you for the links. I installed RQM and RTC on 2 other servers and went through the steps in your links. I was able to get the RTC server to link to the RQM server successfully and vice versa, but get the error "Creating project area back link failed." after creating the 2nd link.

Is there any extra diagnostic info we could look at to figure out why that error occurs?

0 votes


Permanent link
Hi,

I'm following the instructions in https://jazz.net/help-dev/rational-quality-manager/index.jsp under topic Setting up work item and defect integration with Rational Team Concert to setup the bridge between the 2 tools.

I verified I can get to each tool from the other's server. I set up the Cross-Server communication and approved the Key request in RTC.

I setup the public uri value with https://<hostname>:9443/jazz in both RTC and RQM, where <hostname> was the host for each of the tools.

Finally I went into the RQM project to setup the Linkage, but got the following error:

Unable to load URL: /jazz/proxy?uri=https%3A%2F%2F9.30.55.61%3A9443%2Fjazz%2Foslc%2Fworkitems%2Fcatalog, Status: 500

At some point I was able to get past this and actually see the RTC project area and select it, but after hitting OK on the Linkage page I got the following error on the screen:

Creating Project Area back link failed

Any ideas on what I'm doing wrong. Everything was going good until I got to the Linking step.


I forgot another point in above reply:
3. The alias name is being used instead of the public uri.
This could happen when there is alias name defined for your machine. For example, when your public uri is https://<ip>:9443/jazz, the host name for your IP is actually *.ibm.com. In this case, you'd better set up the host name in server -> jazz advantaged properties -> search 'host name' and let it the same as in your public uri..


Thank you for the reply.

I'm noticing on my RQM console the following message when trying to add a link:

HttpException while processing OAuth information: Invalid consumer key. Consumer may not be registered

I looked up the friendsconfig.rdf file and noticed several entries in there. I deleted them all and redid that step and verified only 1 entry exists now. I recycled the web server but the message still appears.

I also added the public uri value to Host Name under Server - Advanced Properties as you suggested.

The additional message attached to the 500 error stated :

The proxy is not configured to allow the request to https://9.30.55.61:9443/jazz/oslc/workitems/catalog,


Any other thoughts on what's going wrong withe the keys? It's behaving as the instructions state and I approve the request in RTC.

You might need to restart the server after you delete the old entries and reset up the new one. This is a known limitation. Let me know if this works for you.

I restarted the server and no longer get the error, but I'm not sure if that's because I took a step forward or a step backward.

When I try and add a link to the RQM Project I get a popup with the login page for RTC, which is good because that's what I"m trying to connect to. But when I type in my admin id/password and try to login I get a Connection Interrupted message in Firefox everytime. Same happens in IE.

Should I be getting this popup asking me to login to the RTC server?

The address of the pop-up is https://<server>:9443/jazz/auth/authrequired

Yes, this is intended. RQM server is accessing remote RTC data under authorization of RTC user. In this way, RQM doesn't have to know of your id/pw in RTC - This is an open API authentication technique, OAuth.

Thanks Goshen.

I'm still getting the error message after attempting to authenticate to RTC. This occurs on 3 different machines with both IE and Firefox, and it happens almost instantly after trying to authenticate. The IE error message states it's something in Tomcat. I accessed the Server.XML file and checked the timeout settings, which were all fine.

Did your team encounter this while testing?





HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser

--------------------------------------------------------------------------------

type Status report

message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser

description The client did not produce a request within the time that the server was prepared to wait (The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser).


--------------------------------------------------------------------------------

Apache Tomcat/5.5.23



I'm also seeing this error in Firefox when trying to authenticate. This is after I type in my id/password and hit Login:

Invalid path to authentication servlet.: /j_security_check



https://<server>:9443/jazz/auth/j_security_check

I din't hit this before but I would suggest delete the cache/cookie in your browser and then do it again. It might help.

These wiki pages are also worthy read.
https://jazz.net/wiki/bin/view/Main/CALMRTCRQMSmokeInstall
https://jazz.net/wiki/bin/view/Main/CALMRTCSmokeSetUp

Thank you for the links. I installed RQM and RTC on 2 other servers and went through the steps in your links. I was able to get the RTC server to link to the RQM server successfully and vice versa, but get the error "Creating project area back link failed." after creating the 2nd link.

Is there any extra diagnostic info we could look at to figure out why that error occurs?

I finally got the integration to work and I can now open defects in RTC through the RQM interface as well as link testcases to Work Items in RTC. I followed the instructions in the v2.0 online help, but it wasn't until I ran the steps below from the 1.0.1 online help that it let me make the connection.

Prior to running the steps from 1.0.1 I was getting a connection reset error msg when trying to login to the RTC server for the auth_check.

I'm not sure if it was only one of these steps or all that got it working for me, but for my instance it seems the 2.0 Online help steps isn't complete.



# Set up Rational Team Concert to accept cross domain requests from Rational Quality Manager.

1. In the Rational Team Concert Admin Web UI, click the Server tab.
2. In the Configuration pane, click Advanced Properties.
3. Under Core Repository Component, scroll to the com.ibm.team.repository.service.internal.xdomain.DynamicProxyFrameService component.
4. For the Current Value of the Cross Domain Host Whitelist property, type the various URLs that can be used to access the Rational Quality Manager Jazz server. Separate each path with a comma, and try to include all of the possible paths, for example:

https://myserver:9443/jazz, https://myserver.ourdomain.mycompany.com:9443/jazz, https://9.12.345.67:9443/jazz

The previous examples include the simple host name, the host name along with the domain name, and the IP address.

If you need to configure multiple Rational Quality Manager servers, you can also use commas to separate each server URL.
Note: This path must be the same one that users use to access Rational Quality Manager.
5. For the Enable Cross Domain Communication property, change the Current Value to true.
6. Scroll to the com.ibm.team.repository.servlet.internal.ServletConfigurationService component.
7. Type the host name of the Rational Team Concert server.
8. Set Use Canonical Host Name to false.
9. Click Save.

0 votes

1–15 items
page 2of 1 pagesof 2 pages

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 15 '09, 11:51 p.m.

Question was seen: 16,639 times

Last updated: Jun 15 '09, 11:51 p.m.

Confirmation Cancel Confirm