ClearQuest Connector how to refresh the sync
Hi.
I have some Workitems (requirements) in my Clearquest synchronizing with some Requirements in RTC. The direction of the sync its only from ClearQuest to RTC. It have worked well , but now I have created some new fields on my Requirements in RTC. Also I have modified the sync rule in the rtc client to get those new fields from ClearQuest. Then i re-started my CQ Connector gateway. How do I made that all of my old requirements that where sync get an update for they to get the new fields I have sync. Thanks |
8 answers
Have you tried modifying your ClearQuest record to see if it synchronizes the new fields to the RTC work item?
Another thing you can try is to use the synctool, which is used to synchronize a set of CQ records over to RTC using the CQ query filter you defined. See http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.connector.cq.doc/topics/t_importing_batch.html for more information. |
Have you tried modifying your ClearQuest record to see if it synchronizes the new fields to the RTC work item? If I use the synctool will that update the workitems i have sync? or it will create new ones? |
For those work items that are already in sync with CQ records, it will update them.
|
For those work items that are already in sync with CQ records, it will update them. The infocenter said that the syntax is like this : synctool.bat recordType="Request" jazz Server="http://ip-domain:9080/jazz" projectArea="Testing Factory Interbank" Then this appeared in the cmd window : 1 file(s) copied. SyncTool se ha iniciado... SyncTool est intentando iniciar sesin para http://130.30.5.122:9080/jazz ... CRJAZ0100I Debe proporcionarse una contrasea. 11 jul 2011 17:14:02,259 ERROR com.ibm.rational.synctool - CRJAZ0100I Debe proporcionarse una contrasea. com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0100I Deb e proporcionarse una contrasea. at com.ibm.team.repository.transport.client.ClientHttpUtil.throwEmptyCre dsException(ClientHttpUtil.java:479) at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMe thod(ClientHttpUtil.java:262) at com.ibm.team.repository.transport.client.RemoteTeamService.executeCan celableHttpMethod(RemoteTeamService.java:561) at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost (RemoteTeamService.java:531) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMet hod(RemoteTeamService.java:471) at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(Rem oteTeamService.java:201) at com.ibm.team.repository.transport.client.ServiceInvocationHandler.inv oke(ServiceInvocationHandler.java:43) at $Proxy0.describe(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeS erviceCall(ServiceInterfaceProxy.java:163) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke( ServiceInterfaceProxy.java:87) at $Proxy0.describe(Unknown Source) at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepo sitory.java:1429) at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepo sitory.java:1) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepo sitory.java:1211) at com.ibm.team.repository.common.transport.CancelableCaller.call(Cancel ableCaller.java:79) at com.ibm.team.repository.client.internal.TeamRepository.callCancelable Service(TeamRepository.java:1204) at com.ibm.team.repository.client.internal.TeamRepository.internalLogin( TeamRepository.java:1422) at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepo sitory.java:595) at com.ibm.rational.connector.cq.synctools.LoginHelper.login(LoginHelper .java:106) at com.ibm.rational.connector.cq.synctools.SyncTool.connectToJazz(SyncTo ol.java:391) at com.ibm.rational.connector.cq.synctools.SyncTool.getAndValidateParame ters(SyncTool.java:141) at com.ibm.rational.connector.cq.synctools.SyncTool.start(SyncTool.java: 96) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl e.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli cation(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec lipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) IT seems that is asking for one password? |
Please translate the error message for me.
Also, the Infocenter uses the following example of using the syntax: synctool recordType="users" jazzServer="https://cqconnector:cqconnector@localhost:9443/ccm" projectArea="Reporting" Note the jazzServer parameter has the jazz account and password to use to connect to the jazz server. Not having that information is probably the reason for your error. |
Please translate the error message for me. I forgot about the pw and username. Now i run the .bat file with user and pw and got this error : i will write the translation followed by a * C:\IBM\Rational\RQM201\connectors\gateway>synctool.bat recordType="Request" jazz Server="http://RQMADMIN:RQMADMIN@130.30.5.122:9080/jazz" projectArea="Testing Fa ctory Interbank" 1 file(s) copied. SyncTool se ha iniciado...*synctool has begun sesion SyncTool est intentando iniciar sesin para http://130.30.5.122:9080/jazz ...*synctool its trying to begin session for http... SyncTool ha iniciado sesin en la base de datos de usuario/repositorio del esquema ptv7/IBCQU de CQ. * Synctool has began session with the db for user and repository ptv7/ibcq for cq. CRVAP0021E (conflict): La ejecucin de la consulta 'RequestdoQuery(...)' ha fal lado. ...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary: ../cqresultset.cpp: line 179-A CException occurred: Out of memory. 11 jul 2011 18:31:27,956 ERROR com.ibm.rational.synctool - CRVAP0021E (conflict): La ejecucin de la consulta 'RequestdoQuery( ...)' ha fallado. ...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary: ../cqresultset.cpp: line 179-A CException occurred: Out of memory. com.ibm.rational.connector.cq.teamapi71.InteropWvcmException71: CRVAP0021E (conf lict): La ejecucin de la consulta 'RequestdoQuery(...)' ha fallado. ...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary: ../cqresultset.cpp: line 179-A CException occurred: Out of memory. at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.doQuer y(CqProviderForInterop71.java:467) at com.ibm.rational.connector.cq.teamapi71.CqRecordTypeForInterop71.doQu ery(CqRecordTypeForInterop71.java:461) at com.ibm.rational.connector.cq.common.cqgateway.CQInteropEventHandler. executeQuery(CQInteropEventHandler.java:628) at com.ibm.rational.connector.cq.common.cqgateway.CQGateway.executeQuery (CQGateway.java:255) at com.ibm.rational.connector.cq.synctools.SyncTool.executeQuery(SyncToo l.java:858) at com.ibm.rational.connector.cq.synctools.SyncTool.sync(SyncTool.java:4 59) at com.ibm.rational.connector.cq.synctools.SyncTool.start(SyncTool.java: 97) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl e.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli cation(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec lipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) Caused by: CRVAP0021E (conflict): La ejecucin de la consulta 'RequestdoQuery(...)' ha fal lado. ...com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary: ../cqresultset.cpp: line 179-A CException occurred: Out of memory. at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException( StpExceptionImpl.java:493) at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExce ptionImpl.java:572) at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExce ptionImpl.java:538) at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExecuteQuery.thro wExecuteException(CqAdapterExecuteQuery.java:668) at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExecuteQuery.buil dAndRunCqQuery(CqAdapterExecuteQuery.java:642) at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExecuteQuery.proc essRequest(CqAdapterExecuteQuery.java:294) at com.ibm.rational.stp.client.internal.cqjni.CqAdapterOp.run(CqAdapterO p.java:449) at com.ibm.rational.stp.client.internal.cq.CqApiRecordType.doQuery(CqApi RecordType.java:103) at com.ibm.rational.connector.cq.teamapi71.CqProviderForInterop71.doQuer y(CqProviderForInterop71.java:462) ... 19 more Caused by: com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Bound ary: ../cqresultset.cpp: line 179-A CException occurred: Out of memory. at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExecuteQuery.exec uteQuery(CqAdapterExecuteQuery.java:371) at com.ibm.rational.stp.client.internal.cqjni.CqAdapterExecuteQuery.buil dAndRunCqQuery(CqAdapterExecuteQuery.java:640) ... 23 more |
Please open a ticket with RTC support so that we can investigate this further. Include what version of the CQ Synchronizer you are using as well as what version of CQ. Do you know how many CQ records are being synchronized by the synctool? That number would be the number of records returned by the CQ query filter you have defined for the CQ record type.
|
On second thought, I will create a work item for this and we can continue the conversation there, https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/171263.
|
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.