cq connector problems.
I have setup the cq connector.
when I added some CRs in ClearQuest client, no changes are added in RTC. there are some information of the output from connector 08:04:03,322 DEBUG com.ibm.rational .interop - Updating cq.repo.cq-record:Defect/33554435 @Jazz_beta2/JazzU using Jazz Interop Client com.ibm.team.interop.service.managers.clearquest.common.InteropException: com.ib m.team.interop.service.managers.clearquest.common.InteropException: The POST ope ration status was 500; expected 201 at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.processC hangeRecord(CQChangeEventProcessor.java:95) at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.run(CQCh angeEventProcessor.java:110) Caused by: com.ibm.team.interop.service.managers.clearquest.common.InteropExcept ion: The POST operation status was 500; expected 201 at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHand lerUsingRestClient.handleUpdateEvent(JazzInteropEventHandlerUsingRestClient.java :413) at com.ibm.rational.connector.cq.common.jazzgateway.JazzGateway.update(J azzGateway.java:178) at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.processC hangeRecord(CQChangeEventProcessor.java:86) ... 1 more 08:04:03,509 DEBUG com.ibm.rational .interop.detail - Processor finished |
8 answers
Was anything written to the Jazz server log at the same time? One thing to check is that the Jazz username and password that the CQ gateway is using to connect was correctly specified, and also that the "synchronize" permissions were correctly granted either to a role that the Jazz used by the CQ gateway has, or to the "default" role.
John I have setup the cq connector. |
how to find the account and passwd used by CQ connector gateway?
|
You define what Jazz user account to use in the cqconnector.properties file (as part of the URL for the Jazz server). Out of the box, the ADMIN user account is used. See the section "Modify Connector service and filtering parameters" in the readmeCQConnect.html file. Also, the previous section describes the permissions that must be defined in your process specification, both for editing synchronization rules and for storing CQ record data in the Jazz repository (the "com.ibm.team.interop.server.synchronize" operation).
John how to find the account and passwd used by CQ connector gateway? |
I think the user account and sync permission is setup correctly.
So where or how to check the log file in server side. |
From the error message in first post
Seems the interop find and new CRs in CQ, and start to do something to update RTC. But failed for unknown reasons. I am right? |
Yes, some error is occurring when the CQ gateway tries to send CQ record data to the Jazz server.
To enable debug logging for the connector in the Jazz server, add these two lines to the log4j.properties file which is in the /jazz/server directory: log4j.logger.com.ibm.team.interop=DEBUG log4j.logger.com.ibm.team.interop.service.outgoingSyncJob=OFF Then restart the Jazz server. The log output will appear in the console window. John From the error message in first post |
Ok. In fact, my Jazz server is on a Linux server, I logon into the server by ssh, when I restart the Jazz server, there is no popup window for output informaiton... What I can do? |
I've never run the Jazz server on Linux myself, but I believe the log output will be in the tomcat/logs/catalina.out file.
John
Ok. In fact, my Jazz server is on a Linux server, I logon into the server by ssh, when I restart the Jazz server, there is no popup window for output informaiton... What I can do? |
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.