It's all about the answers!

Ask a question

cq connector problems.


Han Jie (10120) | asked Dec 29 '07, 2:10 a.m.
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



permanent link
John Vasta (2.6k15) | answered Jan 01 '08, 9:40 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.
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

permanent link
Han Jie (10120) | answered Jan 01 '08, 9:30 p.m.
how to find the account and passwd used by CQ connector gateway?

permanent link
John Vasta (2.6k15) | answered Jan 02 '08, 10:29 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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?

permanent link
Han Jie (10120) | answered Jan 02 '08, 10:15 p.m.
I think the user account and sync permission is setup correctly.
So where or how to check the log file in server side.

permanent link
Han Jie (10120) | answered Jan 02 '08, 10:23 p.m.
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?

permanent link
John Vasta (2.6k15) | answered Jan 03 '08, 9:11 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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
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?

permanent link
Han Jie (10120) | answered Jan 03 '08, 10:18 p.m.

Then restart the Jazz server. The log output will appear in the console window.


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?

permanent link
John Vasta (2.6k15) | answered Jan 04 '08, 9:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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


Then restart the Jazz server. The log output will appear in the console window.


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


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.