It's all about the answers!

Ask a question

RQM 2.0 / ClearQuest Integration?


Eric Smyth (3643) | asked Aug 05 '09, 4:32 p.m.
Does anyone have any information on how this can be done. I was able to connect RQM 1.0.1 to ClearQuest using the ClearQuest connector, but I am getting licensing error messages when attempting to do this with RQM 2.0. Any help would be appreciated.

14 answers



permanent link
Doug Victor (21) | answered Aug 12 '09, 3:36 p.m.
I changed the logging setting like you suggested and I am still getting the same message in RTC.

The catalina log has this:
Aug 12, 2009 2:50:10 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Documents and Settings\Tester\Desktop\RTC-CQConnector-2.0-Win\jazz\connectors\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Rational\common
Aug 12, 2009 2:50:11 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
Aug 12, 2009 2:50:20 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8444
Aug 12, 2009 2:50:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 15141 ms
Aug 12, 2009 2:50:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 12, 2009 2:50:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Aug 12, 2009 2:50:21 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 12, 2009 2:50:24 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cqconnector.war
Aug 12, 2009 2:52:39 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
Aug 12, 2009 2:52:39 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8444
Aug 12, 2009 2:52:40 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
Aug 12, 2009 2:52:40 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/297 config=null
Aug 12, 2009 2:52:40 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 12, 2009 2:52:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 139968 ms

localhost log shows:

Aug 12, 2009 2:52:38 PM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: , , ]

cqgateway log is =

12 Aug 2009 14:50:30,932 INFO com.ibm.rational.interop.level2 - CRRTC4562I: temp dir is: C:\Documents and Settings\Tester\Desktop\RTC-CQConnector-2.0-Win\jazz\connectors\gateway\tomcat\temp\interop
12 Aug 2009 14:50:31,057 INFO com.ibm.rational.interop.level1 - CRRTC4552I: The gateway is now only accepting setup requests
12 Aug 2009 14:50:31,182 DEBUG com.ibm.rational.interop.level1 - Jazz Interop server is: 192.168.0.72(9443)
12 Aug 2009 14:50:31,182 DEBUG com.ibm.rational.interop.level1 - Logging in as cqconnector
12 Aug 2009 14:50:40,557 DEBUG com.ibm.rational.interop.level2 - Stage label of CQ: BALTIC_MR1.D070529
12 Aug 2009 14:50:40,573 DEBUG com.ibm.rational.interop.level2 - CQ Provider (JNI) Version is: 701
12 Aug 2009 14:50:40,589 DEBUG com.ibm.rational.interop.level2 - CM API Version is: 71
12 Aug 2009 14:50:40,589 DEBUG com.ibm.rational.interop.level2 - CQ Version Info is: 71
12 Aug 2009 14:50:40,995 DEBUG com.ibm.rational.interop.level2 - Getting Team Provider for RQM_CQ_Schema/RQMCQ login: cqconnector
12 Aug 2009 14:50:45,620 DEBUG com.ibm.rational.interop.level2 - Allocating an admin session for RQM_CQ_Schema/RQMCQ thread name: Start Level Event Dispatcher
12 Aug 2009 14:50:45,635 DEBUG com.ibm.rational.interop.level2 - Allocating another (1) static CQ Interop handler Start Level Event Dispatcher
12 Aug 2009 14:50:45,635 DEBUG com.ibm.rational.interop.level2 - Using CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-Start Level Event Dispatcher
12 Aug 2009 14:50:46,745 DEBUG com.ibm.rational.interop.level2 - Number of record types: 13
12 Aug 2009 14:50:47,089 DEBUG com.ibm.rational.interop.level2 - Processed (1) JazzConnectorProperties
12 Aug 2009 14:50:49,432 DEBUG com.ibm.rational.interop.level2 - Processed (2) users
12 Aug 2009 14:50:49,854 DEBUG com.ibm.rational.interop.level2 - Processed (3) groups
12 Aug 2009 14:50:50,073 DEBUG com.ibm.rational.interop.level2 - Processed (4) JazzConnectorChangeEvents
12 Aug 2009 14:50:50,245 DEBUG com.ibm.rational.interop.level2 - Processed (5) Customer
12 Aug 2009 14:50:51,026 DEBUG com.ibm.rational.interop.level2 - Processed (6) attachments
12 Aug 2009 14:50:51,214 DEBUG com.ibm.rational.interop.level2 - Processed (7) JazzConnectorSyncHistory
12 Aug 2009 14:50:51,464 DEBUG com.ibm.rational.interop.level2 - Processed (8) JazzConnectorQueryInfo
12 Aug 2009 14:50:51,979 DEBUG com.ibm.rational.interop.level2 - Processed (9) ratl_replicas
12 Aug 2009 14:50:52,120 DEBUG com.ibm.rational.interop.level2 - Processed (10) Project
12 Aug 2009 14:50:52,604 DEBUG com.ibm.rational.interop.level2 - Processed (11) Defect
12 Aug 2009 14:50:53,010 DEBUG com.ibm.rational.interop.level2 - Processed (12) Email_Rule
12 Aug 2009 14:50:53,432 DEBUG com.ibm.rational.interop.level2 - Processed (13) history
12 Aug 2009 14:50:53,432 DEBUG com.ibm.rational.interop.level2 - Releasing CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-Start Level Event Dispatcher
12 Aug 2009 14:50:53,448 INFO com.ibm.rational.interop.level1 - CRRTC4555I: The gateway is now only accepting setup, reset, retrieve and sync rule editor requests
12 Aug 2009 14:50:53,448 DEBUG com.ibm.rational.interop.level2 - Using CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-Start Level Event Dispatcher
12 Aug 2009 14:50:53,464 DEBUG com.ibm.rational.interop.level2 - Got handler for Start Level Event Dispatcher
12 Aug 2009 14:50:56,042 DEBUG com.ibm.rational.interop.level2 - Releasing CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-Start Level Event Dispatcher
12 Aug 2009 14:50:56,057 INFO com.ibm.rational.interop.level1 - CRRTC4550I: CQ Event Polling can be started
12 Aug 2009 14:50:56,073 INFO com.ibm.rational.interop.level1 - CRRTC4554I: The gateway is now accepting all requests
12 Aug 2009 14:50:56,089 INFO com.ibm.rational.interop.level1 - CRRTC4566I: CQ Event Polling has been started
12 Aug 2009 14:50:56,182 DEBUG com.ibm.rational.interop.level2 - Getting Team Provider for RQM_CQ_Schema/RQMCQ login: cqconnector
12 Aug 2009 14:50:57,057 DEBUG com.ibm.rational.interop.level2 - Allocating an admin session for RQM_CQ_Schema/RQMCQ thread name: CQ Interop Polling
12 Aug 2009 14:50:57,057 DEBUG com.ibm.rational.interop.level2 - Allocating another (2) static CQ Interop handler CQ Interop Polling
12 Aug 2009 14:50:57,073 DEBUG com.ibm.rational.interop.level2 - Using CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-CQ Interop Polling
12 Aug 2009 14:50:57,339 DEBUG com.ibm.rational.interop.level2 - Releasing CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-CQ Interop Polling
12 Aug 2009 14:50:57,370 DEBUG com.ibm.rational.interop.level2 - Number of change history records read: 0
12 Aug 2009 14:50:57,370 DEBUG com.ibm.rational.interop.level2 - No changes to RQM_CQ_Schema/RQMCQ
12 Aug 2009 14:50:57,385 DEBUG com.ibm.rational.interop.level2 - Number of change history records read: 0
12 Aug 2009 14:50:57,385 DEBUG com.ibm.rational.interop.level2 - Number of change history records to process: 0
12 Aug 2009 14:50:57,385 DEBUG com.ibm.rational.interop.level2 - Number of records processed:0
12 Aug 2009 14:50:57,401 DEBUG com.ibm.rational.interop.level2 - Number of records generation errors:0
12 Aug 2009 14:50:57,401 DEBUG com.ibm.rational.interop.level2 - Number of records ignored:0
12 Aug 2009 14:50:57,417 DEBUG com.ibm.rational.interop.level2 - Number of records suppressed:0
12 Aug 2009 14:50:57,417 DEBUG com.ibm.rational.interop.level2 - Number of records deleted:0
12 Aug 2009 14:50:57,417 DEBUG com.ibm.rational.interop.level2 - Total Number of records not processed:0
12 Aug 2009 14:51:17,635 DEBUG com.ibm.rational.interop.level2 - Using CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-CQ Interop Polling
12 Aug 2009 14:51:17,635 DEBUG com.ibm.rational.interop.level2 - Got handler for CQ Interop Polling
12 Aug 2009 14:51:17,870 DEBUG com.ibm.rational.interop.level2 - Releasing CQInteropEventHandler-RQM_CQ_Schema/RQMCQ-CQ Interop Polling
12 Aug 2009 14:51:17,870 DEBUG com.ibm.rational.interop.level2 - Number of change history records read: 0
12 Aug 2009 14:51:17,885 DEBUG com.ibm.rational.interop.level2 - No changes to RQM_CQ_Schema/RQMCQ
12 Aug 2009 14:51:17,948 DEBUG com.ibm.rational.interop.level2 - Number of change history records read: 0
12 Aug 2009 14:51:17,948 DEBUG com.ibm.rational.interop.level2 - Number of change history records to process: 0
12 Aug 2009 14:51:17,964 DEBUG com.ibm.rational.interop.level2 - Number of records processed:0
12 Aug 2009 14:51:17,979 DEBUG com.ibm.rational.interop.level2 - Number of records generation errors:0
12 Aug 2009 14:51:17,979 DEBUG com.ibm.rational.interop.level2 - Number of records ignored:0
12 Aug 2009 14:51:17,979 DEBUG com.ibm.rational.interop.level2 - Number of records suppressed:0
12 Aug 2009 14:51:18,010 DEBUG com.ibm.rational.interop.level2 - Number of records deleted:0
12 Aug 2009 14:51:18,026 DEBUG com.ibm.rational.interop.level2 - Total Number of records not processed:0


------
The cqgateway log continues to grow and repeats the last 13 every time it cycles.

I don't see anything strange here do you?
-Doug

Is the cqgateway.log file truly empty (0 bytes)? If so, there must be something unusual in your setup, since there are always some log messages by default (about the server starting up, etc.)

There should be other log files in the same directory; can you look at those and see if there is anything interesting?

Also, you can try turning on debug log levels. Edit the gateway/log4j.properties file to comment out the WARN level, and uncomment the two DEBUG levels, like this:

#log4j.logger.com.ibm.rational.interop.level1=WARN, cqgateway

log4j.logger.com.ibm.rational.interop.level1=DEBUG, cqgateway
log4j.logger.com.ibm.rational.interop.level2=DEBUG, cqgateway


then restart the gateway, and try syncing again.

No luck so far. I am now trying on another setup. I have RQM, RTC, CQ and the CQ connector all on the same machine. I am using the machines IP address everywhere ( no localhost )

In RTC when I sync out I get the following error:
Error occurred:
java.lang.RuntimeException: com.ibm.team.interop.service.managers.clearquest.common.InteropException: Server error on the ClearQuest gateway - status 404
com.ibm.team.interop.service.managers.clearquest.common.InteropException: Server error on the ClearQuest gateway - status 404

The cqgateway log is empty. Any ideas?
Thanks - Doug

There may be more information in the log file for the CQ gateway. Look at the cqgateway.log file in the gateway/tomcat/logs directory under the installation directory for the gateway, and see if any more information is being logged.

John -
Thanks for writing back. I changed my External Repository as you suggested but I am now getting a different error.

My setup is RTC, CQ and CQ Connector running on the same machine. RQM (and the Jazz server) on a 2nd machine. I updated the connection in the External Repository to be the IP address of the RTC/CQ box.

I now get the following error in Synchronization Status:
Error occurred:
java.lang.RuntimeException: com.ibm.team.interop.service.managers.clearquest.common.InteropException: Server error on the ClearQuest gateway - status 404
com.ibm.team.interop.service.managers.clearquest.common.InteropException: Server error on the ClearQuest gateway - status 404

Thanks again for your help
-Doug

Make sure that the URL you entered for "Connection info" in the External Repository Connection that you see in the Synchronization Rules view is correct, relative to the RQM server machine. For example, you said you entered the gateway URL using "localhost" as the host name in a browser, but if the CQ Gateway is not running on the same machine as the RQM server, then "localhost" won't work. You should be able to copy the URL from the External Repository Connection and paste it into a browser that is running on the RQM server machine, and be able to connect to the CQ Gateway.

The problem with the occasional blank status display is known, and will be fixed in 2.0.0.1. It doesn't affect syncing, just the status display. (The work item is https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/86437)

Hello,

Maybe you guys can give me a hand with my integration problem. I think I have the CQ connector gateway set up correctly but the syncing is not working.

In RTC I am doing a Synchronize Out and the synchronization status shows Pending (blocked). I have the following message:
Incoming at 8/10/09 2:39:11 PM EDT
Error occurred:

java.lang.RuntimeException: com.ibm.team.interop.service.managers.clearquest.common.InteropException: java.net.ConnectException: Connection refused
com.ibm.team.interop.service.managers.clearquest.common.InteropException: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused

The other interesting thing is when I go to the http://localhost:8081/cqconnector/gateway site, sometimes I see information on this page like it should show and sometimes the page is empty and I'm looking at a white screen in the browser. Seems kinda odd.

I have the same username and password in RTC, RQM and the CQ connector properties file.

Please let me know if you have any ideas.
Thanks
-Doug

permanent link
John Vasta (2.6k15) | answered Aug 12 '09, 4:07 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
It looks like the RQM server is not making contact at all with the CQ gateway, so perhaps the URL in your external repository connection still isn't right - what is it? It should be "http://<host>:8081/cqconnector/gateway", where "<host>" is replaced by the hostname or IP address of the machine the gateway is running on.

permanent link
Sylvia Brown (161) | answered Aug 24 '09, 2:49 p.m.
I didn't know that there was a Jazz ClearQuest Connector Team. I am trying to get to detailed instructions on how to start the CQ Connector synchronization manually. No one seems to have these instructions. Do you have the documentation on how to start the synchronization manually?

permanent link
John Vasta (2.6k15) | answered Aug 31 '09, 10:30 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Sorry; I've been out on vacation, and it appears no one else has responded to your post. I'm not sure what you mean by "start the synchronization manually"; the CQ Connector synchronization is basically always running, detecting recent changes made in either CQ or RTC that need to be synced to the other side. But there is a way to trigger synchronization of existing CQ records that are not changing, using a separate command-line utility. If that sounds useful to you, please see this documentation topic:

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.connector.cq.doc/topics/t_importing_batch.html

I didn't know that there was a Jazz ClearQuest Connector Team. I am trying to get to detailed instructions on how to start the CQ Connector synchronization manually. No one seems to have these instructions. Do you have the documentation on how to start the synchronization manually?

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.