CQ Connector error: No available jazz server
I have set up CQ Connector. I can use the synctool and import users, projects and defects.
But when I start the gateway i get the following error:
com.ibm.team.interop.service.managers.clearquest.common.InteropException: No available jazz server for project area
What is wrong? Do I have to set the connection to the jazz server in CQ user db? Where?
The cqconnector.properties file looks like:
----------------------------
com.ibm.rational.interop.pollingPeriod=30
cq.dbSetDbName=sample_schema_repo/SAMPL
cq.userid=bill
cq.password=bill
com.ibm.team.uris=https://bill:bill@L3GYK90-1951BY8:9443/jazz
#<exisiting public or personal folder>
# <leaf of path defined in cq.queryTreeRoot>
JUnitProject
----------------------------
Even tried without project JUnitProject
Even tried with com.ibm.team.uris=https://bill:bill@localhost:9443/jazz
The project in RTC is called JUnitProject.
There is a user bill in CQ SAMPL db and in the JUnitProject.
But when I start the gateway i get the following error:
com.ibm.team.interop.service.managers.clearquest.common.InteropException: No available jazz server for project area
What is wrong? Do I have to set the connection to the jazz server in CQ user db? Where?
The cqconnector.properties file looks like:
----------------------------
com.ibm.rational.interop.pollingPeriod=30
cq.dbSetDbName=sample_schema_repo/SAMPL
cq.userid=bill
cq.password=bill
com.ibm.team.uris=https://bill:bill@L3GYK90-1951BY8:9443/jazz
#<exisiting public or personal folder>
# <leaf of path defined in cq.queryTreeRoot>
JUnitProject
----------------------------
Even tried without project JUnitProject
Even tried with com.ibm.team.uris=https://bill:bill@localhost:9443/jazz
The project in RTC is called JUnitProject.
There is a user bill in CQ SAMPL db and in the JUnitProject.
2 answers
Stop the CQ Gateway. Then create a CQ query against the JazzConnectorSyncHistory record type and if there are records in there, delete them. Start the CQ Gateway again. It may be the case that there are some old project area ids in that table that no longer exist.
Lorelei Ngooi
Jazz CQ Connector Team
Lorelei Ngooi
Jazz CQ Connector Team
In your note you say you have the following in your properties file:
#<exisiting public or personal folder>
# <leaf of path defined in cq.queryTreeRoot>
JUnitProject
where JUnitProject is your RTC project area.
If you read the documentation or the comments included in the example properties file it says you need to specify a folder from the CQ workspace using the property cq.queryTreeRoot, which includes CQ queries that select records for different RTC project areas.
Assuming you want don't want to filter the records, you can actually just specify the tree structure, and no queries.
So you should have a folder something like this in your CQ workspace:
Public Queries
JazzConnector
JUnitProject
where JUnitProject is an empty folder.
Then include the following line in your properties file:
cq.queryTreeRoot=Public Queries/JazzConnector
Rich Piazza
Jazz CQ Connector Team
#<exisiting public or personal folder>
# <leaf of path defined in cq.queryTreeRoot>
JUnitProject
where JUnitProject is your RTC project area.
If you read the documentation or the comments included in the example properties file it says you need to specify a folder from the CQ workspace using the property cq.queryTreeRoot, which includes CQ queries that select records for different RTC project areas.
Assuming you want don't want to filter the records, you can actually just specify the tree structure, and no queries.
So you should have a folder something like this in your CQ workspace:
Public Queries
JazzConnector
JUnitProject
where JUnitProject is an empty folder.
Then include the following line in your properties file:
cq.queryTreeRoot=Public Queries/JazzConnector
Rich Piazza
Jazz CQ Connector Team