It's all about the answers!

Ask a question

Exception -Where 2 specify the Remote CQ Server info-Gateway


Tushar Parate (3692) | asked Feb 27 '09, 1:53 p.m.
retagged Aug 12 '13, 11:07 a.m. by Ralph Earle (25739)
Hi Team,

Here is my Production Jazz-CQ Integration scenario:
We have remotely installed CQ and Jazz Server on two different system and trying to integrate these system.

1) Machine 1 - Production CQ server and database installed and running.
2) Machine 2 - Jazz Server running and CQ Connector installed.


I have modified the cqconnector.properties file to specify the following property:
com.ibm.rational.interop.pollingPeriod=60
cq.dbSetDbName=<PROD_SCHEMA_NAME>/<PROD_DB_NAME>
cq.userid=xxxx@in.ibm.com
cq.password=password
cq.queryTreeRoot=Public Queries/JazzConnector


Need clarification on the following:
1) how does gateway server know about the CQ server (Which IP to connect) Since we have not specified any where in configuration.

2) What are the access privileged for the ID to access CQ server from the Jazz Server. I got SQL Editor permission on my user id. Since CQ server is the production server, CQ admin is little hesitant to give more permission other than SQL Editor. Is there any other permission required?


I am getting following error:

CRVSV0977I Not launching task to watch for logging properties changes since this CM API-based code is running inside a servlet or within the CM Server.
27 Feb 2009 23:52:48,140 ERROR com.ibm.rational.interop.level1 - CRRTC4543E: CQ Event Polling has NOT been started
com.ibm.rational.connector.cq.teamapi71.InteropWvcmException71: CRVAP0037E (authentication-info-required): Access to database 'CQMS.WBI.ISL/BGTRK' is denied.
...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary:
../cqsession.cpp: line 255-The database "MASTR" belonging to master database "CQMS.WBI.ISL" is an invalid name. Enter the correct name of a ClearQuest user database.
...java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
Caused by: java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.setCqUserDb(CqProviderForInterop71.java:85)
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.init(CqProviderForInterop71.java:123)
at com.ibm.rational.connector.cq.common.cqgateway.CqObjectFactory.createCqProvider(CqObjectFactory.java:370)
at com.ibm.rational.connector.cq.common.cqgateway.CQInteropEventHandler.connect(CQInteropEventHandler.java:69)
at com.ibm.rational.connector.cq.common.cqgateway.CQInteropEventHandler.<init>(CQInteropEventHandler.java:53)
at com.ibm.rational.connector.cq.common.cqgateway.CQRepository.getHandler(CQRepository.java:295)
at com.ibm.rational.connector.cq.common.cqgateway.CQRepository.initializeRepoInfo(CQRepository.java:193)
at com.ibm.rational.connector.cq.common.cqgateway.CQRepository.<init>(CQRepository.java:42)
at com.ibm.rational.connector.cq.common.cqgateway.CQGateway.connectToRepositoryLocal(CQGateway.java:85)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.addCQRepository(CQInteropPollingManager.java:670)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.initialize(CQInteropPollingManager.java:823)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.pollingIncoming(PollingThread.java:44)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.run(PollingThread.java:31)
Caused by:
CRVAP0037E (authentication-info-required): Access to database 'CQMS.WBI.ISL/BGTRK' is denied.
...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary:
../cqsession.cpp: line 255-The database "MASTR" belonging to master database "CQMS.WBI.ISL" is an invalid name. Enter the correct name of a ClearQuest user database.
...java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
Caused by: java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:572)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.raiseLogonFailed(CqJniProtocol.java:2261)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.access$400(CqJniProtocol.java:133)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniSession.doSessionLogon(CqJniProtocol.java:944)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniConnection.getSession(CqJniProtocol.java:481)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniConnection.getSession(CqJniProtocol.java:431)
at com.ibm.rational.stp.client.internal.cqjni.CqJniResource.logon(CqJniResource.java:458)
at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExpandProps.processProps(CqAdapterExpandProps.java:2664)
at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExpandProps.processRequest(CqAdapterExpandProps.java:301)
at com.ibm.rational.stp.client.internal.cqjni.CqAdapterOp.run(CqAdapterOp.java:449)
at com.ibm.rational.stp.client.internal.core.CoreResource.doReadProperties(CoreResource.java:456)
at com.ibm.rational.stp.client.internal.core.CoreResource.doReadProperties(CoreResource.java:414)
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.setCqUserDb(CqProviderForInterop71.java:78)
... 12 more
Caused by:
java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71$CQLogin.getAuthentication(CqProviderForInterop71.java:158)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.getAuthentication(CqJniProtocol.java:2206)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.access$800(CqJniProtocol.java:133)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniSession.doSessionLogon(CqJniProtocol.java:897)
... 21 more





Thanks & regards,
Tushar Y Parate

2 answers



permanent link
Tushar Parate (3692) | answered Feb 27 '09, 2:38 p.m.
Hi Team,

Here is my Production Jazz-CQ Integration scenario:
We have remotely installed CQ and Jazz Server on two different system and trying to integrate these system.

1) Machine 1 - Production CQ server and database installed and running.
2) Machine 2 - Jazz Server running and CQ Connector installed.


I have modified the cqconnector.properties file to specify the following property:
com.ibm.rational.interop.pollingPeriod=60
cq.dbSetDbName=<PROD_SCHEMA_NAME>/<PROD_DB_NAME>
cq.userid=xxxx@in.ibm.com
cq.password=password
cq.queryTreeRoot=Public Queries/JazzConnector


Need clarification on the following:
1) how does gateway server know about the CQ server (Which IP to connect) Since we have not specified any where in configuration.

2) What are the access privileged for the ID to access CQ server from the Jazz Server. I got SQL Editor permission on my user id. Since CQ server is the production server, CQ admin is little hesitant to give more permission other than SQL Editor. Is there any other permission required?


I am getting following error:

CRVSV0977I Not launching task to watch for logging properties changes since this CM API-based code is running inside a servlet or within the CM Server.
27 Feb 2009 23:52:48,140 ERROR com.ibm.rational.interop.level1 - CRRTC4543E: CQ Event Polling has NOT been started
com.ibm.rational.connector.cq.teamapi71.InteropWvcmException71: CRVAP0037E (authentication-info-required): Access to database 'CQMS.WBI.ISL/BGTRK' is denied.
...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary:
../cqsession.cpp: line 255-The database "MASTR" belonging to master database "CQMS.WBI.ISL" is an invalid name. Enter the correct name of a ClearQuest user database.
...java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
Caused by: java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.setCqUserDb(CqProviderForInterop71.java:85)
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.init(CqProviderForInterop71.java:123)
at com.ibm.rational.connector.cq.common.cqgateway.CqObjectFactory.createCqProvider(CqObjectFactory.java:370)
at com.ibm.rational.connector.cq.common.cqgateway.CQInteropEventHandler.connect(CQInteropEventHandler.java:69)
at com.ibm.rational.connector.cq.common.cqgateway.CQInteropEventHandler.<init>(CQInteropEventHandler.java:53)
at com.ibm.rational.connector.cq.common.cqgateway.CQRepository.getHandler(CQRepository.java:295)
at com.ibm.rational.connector.cq.common.cqgateway.CQRepository.initializeRepoInfo(CQRepository.java:193)
at com.ibm.rational.connector.cq.common.cqgateway.CQRepository.<init>(CQRepository.java:42)
at com.ibm.rational.connector.cq.common.cqgateway.CQGateway.connectToRepositoryLocal(CQGateway.java:85)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.addCQRepository(CQInteropPollingManager.java:670)
at com.ibm.rational.connector.cq.gateway.CQInteropPollingManager.initialize(CQInteropPollingManager.java:823)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.pollingIncoming(PollingThread.java:44)
at com.ibm.rational.connector.cq.gateway.polling.PollingThread.run(PollingThread.java:31)
Caused by:
CRVAP0037E (authentication-info-required): Access to database 'CQMS.WBI.ISL/BGTRK' is denied.
...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary:
../cqsession.cpp: line 255-The database "MASTR" belonging to master database "CQMS.WBI.ISL" is an invalid name. Enter the correct name of a ClearQuest user database.
...java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
Caused by: java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:572)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.raiseLogonFailed(CqJniProtocol.java:2261)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.access$400(CqJniProtocol.java:133)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniSession.doSessionLogon(CqJniProtocol.java:944)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniConnection.getSession(CqJniProtocol.java:481)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniConnection.getSession(CqJniProtocol.java:431)
at com.ibm.rational.stp.client.internal.cqjni.CqJniResource.logon(CqJniResource.java:458)
at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExpandProps.processProps(CqAdapterExpandProps.java:2664)
at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExpandProps.processRequest(CqAdapterExpandProps.java:301)
at com.ibm.rational.stp.client.internal.cqjni.CqAdapterOp.run(CqAdapterOp.java:449)
at com.ibm.rational.stp.client.internal.core.CoreResource.doReadProperties(CoreResource.java:456)
at com.ibm.rational.stp.client.internal.core.CoreResource.doReadProperties(CoreResource.java:414)
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.setCqUserDb(CqProviderForInterop71.java:78)
... 12 more
Caused by:
java.lang.UnsupportedOperationException: The CQ credentials are invalid. Verify them in the cq connector property file.
at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71$CQLogin.getAuthentication(CqProviderForInterop71.java:158)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.getAuthentication(CqJniProtocol.java:2206)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol.access$800(CqJniProtocol.java:133)
at com.ibm.rational.stp.client.internal.cqjni.CqJniProtocol$CqJniSession.doSessionLogon(CqJniProtocol.java:897)
... 21 more





Thanks & regards,
Tushar Y Parate




Got clarification from Lorelei Ngooi....Though the CQ Client, CQ Connector will get info about CQ server.

permanent link
Mallikarjun Reddy Kukunoori (11) | answered Aug 05 '13, 6:51 a.m.
I have received a similar problem when trying a Rational ClearQuest integration with Rational Focal Point using Rational Sync Server. In my case, problem turned out to be,  the JRE version that is causing this error. The JRE version that is required for CQ (in particulat cqjni.jar) is the one that is shipped with ClearQuest. If the other application's JRE path is overwriting the path to that JRE and CQ JRE comes later, the cqjni.jar calls are failing, which in turn causes the integrations to fail. And that ends up in this error message. May be you can solve the problem by giving priority to CQ JRE on the CQ machine where you are planning the Integration setup.

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.