It's all about the answers!

Ask a question

No incoming sync from ClearQuest to TC.


Maarte Oerlemans (665) | asked Nov 20 '07, 8:45 a.m.
Hi,

we are working on the setup of the ClearQuest connector. We followed the setup guide. The sync process is running. However the defects are not synchronized to Jazz.
The output of the sync process gives an unexpected output 302, see log below.

CQ CREATED OCCURRED - dbid:33554434 version: 1 type Defect
End was present for dbid:33554435 version: 1
CQ CREATED OCCURRED - dbid:33554435 version: 1 type Defect
End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
End was present for dbid:33554433 version: 1
CQ CREATED OCCURRED - dbid:33554433 version: 1 type Defect
End was present for dbid:33554433 version: 2
CQ UPDATED OCCURRED - dbid:33554433 version: 2 type Defect
End was present for dbid:33554434 version: 1
CQ CREATED OCCURRED - dbid:33554434 version: 1 type Defect
End was present for dbid:33554435 version: 1
CQ CREATED OCCURRED - dbid:33554435 version: 1 type Defect
End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)

Can someone help us to get the sunc working and explain the output?

Thanks, Ronald & Maarte.

10 answers



permanent link
John Vasta (2.6k15) | answered Nov 20 '07, 12:02 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
What does the Jazz server URL look like that you configured the CQ gateway to connect to? That server/service is responding with a "redirect" status (302), which the CQ gateway is not prepared to handle.

John

Hi,

we are working on the setup of the ClearQuest connector. We followed the setup guide. The sync process is running. However the defects are not synchronized to Jazz.
The output of the sync process gives an unexpected output 302, see log below.

CQ CREATED OCCURRED - dbid:33554434 version: 1 type Defect
End was present for dbid:33554435 version: 1
CQ CREATED OCCURRED - dbid:33554435 version: 1 type Defect
End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
End was present for dbid:33554433 version: 1
CQ CREATED OCCURRED - dbid:33554433 version: 1 type Defect
End was present for dbid:33554433 version: 2
CQ UPDATED OCCURRED - dbid:33554433 version: 2 type Defect
End was present for dbid:33554434 version: 1
CQ CREATED OCCURRED - dbid:33554434 version: 1 type Defect
End was present for dbid:33554435 version: 1
CQ CREATED OCCURRED - dbid:33554435 version: 1 type Defect
End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: The GET operation status was 302; expected 200

at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)

Can someone help us to get the sunc working and explain the output?

Thanks, Ronald & Maarte.

permanent link
Maarte Oerlemans (665) | answered Nov 20 '07, 4:10 p.m.
The URL in gateway.properties is "com.ibm.team.uri=http://localhost:9080/jazz".

When I connect to this URL using a browser I have to login twice. First the connection is redirected to local host port 9443. Second time the name of the server is used.


Maarte.

permanent link
John Vasta (2.6k15) | answered Nov 26 '07, 12:44 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
So as I said, the CQ gateway cannot handle a redirect response from the Jazz server. You can point the CQ gateway directly to the SSL port, but that would require installing the certificate used for SSL into the JRE that is used to run the gateway. At this point, we're really only supporting a direct, non-SSL connection between the Jazz server and the CQ gateway. (There is a work item to support SSL.) Is it possible to configure your server with a non-redirecting, non-SSL port for the purposes of investigating the CQ Connector?

John

The URL in gateway.properties is "com.ibm.team.uri=http://localhost:9080/jazz".

When I connect to this URL using a browser I have to login twice. First the connection is redirected to local host port 9443. Second time the name of the server is used.


Maarte.

permanent link
Maarte Oerlemans (665) | answered Nov 27 '07, 11:25 a.m.
I have changed the web.xml file to disable to secure access. The change solved the error 302 on interface.
However I do not see any work items in Jazz yet. What can be the problem for creation of the work items?

The output in the command prompt is now:

End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)

Maarte.

permanent link
John Vasta (2.6k15) | answered Nov 27 '07, 4:12 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
I take it you're using the M3 (or M3a) build? This sounds like a known problem (work item 33858) which was fixed for the I20071101-2006 build (which is what we're running internally). You might want to wait for the M4 build to be available next week; it has lots of fixes in the CQ Connector.

John

I have changed the web.xml file to disable to secure access. The change solved the error 302 on interface.
However I do not see any work items in Jazz yet. What can be the problem for creation of the work items?

The output in the command prompt is now:

End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
End was present for dbid:33554470 version: 1
CQ CREATED OCCURRED - dbid:33554470 version: 1 type Project
End was present for dbid:33554470 version: 2
CQ UPDATED OCCURRED - dbid:33554470 version: 2 type Project
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.jazz.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandle
rUsingRestClient.java:283)
at com.ibm.rational.interop.jazz.JazzGateway.create(JazzGateway.java:111)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:84)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)
com.ibm.team.interop.service.managers.clearquest.common.InteropException: An externalURI CQ%3Acq.repo.cq-record%3AProjec
t%2F33554470%40sample_schema_repo%2FSAMPL can only be specified for a new ExternalProxy object
at com.ibm.rational.interop.cq.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:102)
at com.ibm.rational.interop.cq.CQChangeEventProcessor.run(CQChangeEventProcessor.java:113)

Maarte.

permanent link
Maarte Oerlemans (665) | answered Nov 28 '07, 2:59 a.m.
Next week we have to present the first results of our evaluation. An important part are the connectors to our current environment, CC and CQ.
We are using M3 at this moment and have NOT planned to install M4 before the presentation. It is too risky.

Are there possibilities to get it working in M#?
(Any work-around or scenarios of patch is welcome)

Maarte.

permanent link
John Vasta (2.6k15) | answered Nov 28 '07, 10:18 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Remember that the connectors are currently in "incubation". This means you're getting a sneak peak at evolving technology. For the CQ Connector in particular, since the only thing you can do with it is setup a canned demo scenario, you're really not seeing what would be involved in applying it to your ClearQuest environment, and what sort of effort it would take to map your CQ database schema to Jazz work items. In other words, I'd be concerned that the evaluation would be based on software which is expected to change quite a bit. The CQ Connector is targeted to come out of incubation for the upcoming beta2 release of Team Concert, in mid-December.

John

Next week we have to present the first results of our evaluation. An important part are the connectors to our current environment, CC and CQ.
We are using M3 at this moment and have NOT planned to install M4 before the presentation. It is too risky.

Are there possibilities to get it working in M#?
(Any work-around or scenarios of patch is welcome)

Maarte.

permanent link
John Vasta (2.6k15) | answered Nov 29 '07, 9:00 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Maarte,

If you're still interested in trying to get the M3 version of the CQ Connector "demo" running, we do have a post-M3 build that fixes some known issues (which is what we were running internally when we had M3 deployed). If you'd like to try it, I'll see if I can get it posted to jazz.net (or get it to you somehow).

John

permanent link
John Vasta (2.6k15) | answered Nov 29 '07, 4:18 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
The CQ Connector update has been added to the downloads page for the I20071011-1401 integration build, which is at

https://jazz.net/downloads/NewDownloadItem.jsp?type=integration&href=integration/data/I20071011-1401

The CQ Connector build is compatible with the Jazz M3/M3a builds, so you don't need to update the RTC client or Jazz server. It may work a bit better, but no guarantees.

John

permanent link
Maarte Oerlemans (665) | answered Dec 03 '07, 7:49 a.m.
We decided to take some extra time for evaluation. The plan is to upgrade to M4 first and get the CQ-connector working.

I have downloaded M4 already and will start with the upgrade tomorrow.

Maarte.

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.