It's all about the answers!

Ask a question

Connector Gateway failing on connection to CQ DB


Shelby Phillips (29624621) | asked May 28 '08, 4:30 p.m.
Hello,

I am using RTC Beta3, and am having issues connecting the Connector Gateway to my CQ DB. I have walked through the CQ Connector Checklist from the Online Help, but am still receiving an error. Below is the output from the Connector validation page (http://localhost:8081/InteropGateway/InteropServlet)


Welcome to the Jazz ClearQuest Connector Gateway
Gateway started at: 5/28/08 3:19 PM
Uptime: 00:05:32
Gateway Version: I20080514-1300
There were problems connecting to the CQ DB, NTTA_Test/NTTAT
null

13 answers



permanent link
Lorelei Ngooi (1.5k22) | answered May 28 '08, 8:33 p.m.
JAZZ DEVELOPER
That's an unfortunate and not so helpful error message. Before you start the CQ Gateway, you need to make sure the Jazz server is running. By any chance was the Jazz server not running when you received this error message?

Lorelei
Jazz CQ Connector Team

permanent link
Lorelei Ngooi (1.5k22) | answered May 28 '08, 8:47 p.m.
JAZZ DEVELOPER
Hi again,

I was able to reproduce this problem by not having started the Jazz server. I created the following work item for this https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=57403.

Lorelei

permanent link
Gary Dang (59328855) | answered May 29 '08, 9:43 a.m.
Thanks for the comment. I tried again for a few times. The same error message was displayed while the Jazz server was running.

permanent link
Lorelei Ngooi (1.5k22) | answered May 29 '08, 10:23 a.m.
JAZZ DEVELOPER
Gary,

Are you saying you are able to reproduce the same problem starting the CQ gateway after having started the Jazz server?

Lorelei

permanent link
Gary Dang (59328855) | answered May 29 '08, 10:42 a.m.
Thanks. Yes - I was able to reproduce the issue after making sure that the jazz server has been started.

Here is the log of the gateway. I see "CRRTC4543E: CQ Event Polling has NOT been started com.ibm.team.interop.service.managers.clearquest.common.InteropException: Problem connecting to Jazz Repository using https://RTCAdmin:xxxxxx#1@10.63.11.31/jazz". What does it mean? Thanks.


-----
May 29, 2008 10:38:27 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive InteropGateway.war
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.D
igester.sax).
log4j:WARN Please initialize the log4j system properly.
10:38:28,280 INFO com.ibm.rational.interop.level2 -
temp dir is: C:\Program Files\IBM\ClearQuestConnector\gateway\tomcat\temp\intero
p
10:38:28,641 DEBUG com.ibm.rational.interop.level1
- Jazz Interop server is: null(-1)
10:38:28,641 DEBUG com.ibm.rational.interop.level1
- Logging in as null
10:38:28,851 ERROR com.ibm.rational.interop.level1
- CRRTC4543E: CQ Event Polling has NOT been started
com.ibm.team.interop.service.managers.clearquest.common.InteropException: Proble
m connecting to Jazz Repository using https://RTCAdmin:xxxxxx#1@10.63.11.31/j
azz
at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHand
lerUsingRestClient.connect(JazzInteropEventHandlerUsingRestClient.java:115)
at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHand
lerUsingRestClient.<init>(JazzInteropEventHandlerUsingRestClient.java:69)
at com.ibm.rational.connector.cq.common.jazzgateway.JazzGateway.connectT
oRepositoryLocal(JazzGateway.java:33)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.createJ
azzGatewayFromSpec(CQInteropPollingManager.java:770)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.initial
ize(CQInteropPollingManager.java:789)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.pollingIn
coming(PollingThread.java:44)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.run(Polli
ngThread.java:31)
May 29, 2008 10:38:29 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
May 29, 2008 10:38:29 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8444
May 29, 2008 10:38:30 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
May 29, 2008 10:38:30 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/60 config=null
May 29, 2008 10:38:30 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 29, 2008 10:38:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5359 ms

permanent link
Gary Dang (59328855) | answered May 29 '08, 10:42 a.m.
Thanks. Yes - I was able to reproduce the issue after making sure that the jazz server has been started.

Here is the log of the gateway. I see "CRRTC4543E: CQ Event Polling has NOT been started com.ibm.team.interop.service.managers.clearquest.common.InteropException: Problem connecting to Jazz Repository using https://RTCAdmin:xxxxxx#1@10.63.11.31/jazz". What does it mean? Thanks.


-----
May 29, 2008 10:38:27 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive InteropGateway.war
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.D
igester.sax).
log4j:WARN Please initialize the log4j system properly.
10:38:28,280 INFO com.ibm.rational.interop.level2 -
temp dir is: C:\Program Files\IBM\ClearQuestConnector\gateway\tomcat\temp\intero
p
10:38:28,641 DEBUG com.ibm.rational.interop.level1
- Jazz Interop server is: null(-1)
10:38:28,641 DEBUG com.ibm.rational.interop.level1
- Logging in as null
10:38:28,851 ERROR com.ibm.rational.interop.level1
- CRRTC4543E: CQ Event Polling has NOT been started
com.ibm.team.interop.service.managers.clearquest.common.InteropException: Proble
m connecting to Jazz Repository using https://RTCAdmin:xxxxxx#1@10.63.11.31/j
azz
at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHand
lerUsingRestClient.connect(JazzInteropEventHandlerUsingRestClient.java:115)
at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHand
lerUsingRestClient.<init>(JazzInteropEventHandlerUsingRestClient.java:69)
at com.ibm.rational.connector.cq.common.jazzgateway.JazzGateway.connectT
oRepositoryLocal(JazzGateway.java:33)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.createJ
azzGatewayFromSpec(CQInteropPollingManager.java:770)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.initial
ize(CQInteropPollingManager.java:789)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.pollingIn
coming(PollingThread.java:44)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.run(Polli
ngThread.java:31)
May 29, 2008 10:38:29 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
May 29, 2008 10:38:29 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8444
May 29, 2008 10:38:30 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
May 29, 2008 10:38:30 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/60 config=null
May 29, 2008 10:38:30 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 29, 2008 10:38:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5359 ms

permanent link
Lorelei Ngooi (1.5k22) | answered May 29 '08, 11:00 a.m.
JAZZ DEVELOPER
I updated the work item with your comments and hope someone can get back to you soon.

Lorelei

permanent link
Richard Piazza (381) | answered May 29 '08, 11:33 a.m.
JAZZ DEVELOPER
Does the jazz server uri have the correct port specified in the cqconnector.properties file? It should be 9443.

permanent link
Gary Dang (59328855) | answered May 29 '08, 12:11 p.m.
Thanks. We are intended to use port 443 instead of 9443. We indeed tried both 9443 and 443 and we saw the same error. Including the port number (443) or not in the URI did not make difference either.

permanent link
Richard Piazza (381) | answered May 29 '08, 12:28 p.m.
JAZZ DEVELOPER
Don't know if it is legal URL syntax, but that does the "#1" mean?

Try without that. You will notice in the log was:

10:38:28,641 DEBUG com.ibm.rational.interop.level1
- Jazz Interop server is: null(-1)
10:38:28,641 DEBUG com.ibm.rational.interop.level1
- Logging in as null


It probably couldn't parse your url correctly...

Rich Piazza
Jazz CQ Connector team

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.