It's all about the answers!

Ask a question

RTC/CQ Connector error-Synchronize with External Objects...


Martin Ertz (1643) | asked Jun 09 '10, 3:35 p.m.
I've recently started receiving the following error in my logs, and various items have begun to fail synchronizing between these two systems.

"Exception message: 'Synchronize with External Objects' failed. Permission denied." With a large, large stack trace.

Where the accounts being used for the connector shouldn't have had permissions changed. And from what I can see, they haven't. Does this message imply something else I need to be looking at?

Thanks for your help,

Marty.

4 answers



permanent link
Kim Soederhamn (1.5k24044) | answered Jun 10 '10, 9:34 a.m.
I've recently started receiving the following error in my logs, and various items have begun to fail synchronizing between these two systems.

"Exception message: 'Synchronize with External Objects' failed. Permission denied." With a large, large stack trace.

Where the accounts being used for the connector shouldn't have had permissions changed. And from what I can see, they haven't. Does this message imply something else I need to be looking at?

Thanks for your help,

Marty.


I suggest you include the stactrace to make it easier to workout if its in CQ og in RTC you get the permission denied.

permanent link
Martin Ertz (1643) | answered Jun 10 '10, 2:57 p.m.
It seems to indicate the problem is with the CQ account used for the sync, but again the privileges haven't changed. I've begun starting over rule by rule to see if that fixes the problem.

Thanks again,

Marty

Exception message: 'Synchronize with External Objects' failed. Permission denied.

at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHandlerUsingRestClient.handleUpdateEvent(JazzInteropEventHandlerUsingRestClient.java:824)
at com.ibm.rational.connector.cq.common.jazzgateway.JazzGateway.update(JazzGateway.java:119)
at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:97)
at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.run(CQChangeEventProcessor.java:139)
Caused by:
com.ibm.team.interop.client.rest.InteropClientException: CRJAZ0002I Error creating the item identified by collection "https://PMRATRTC01P.pm.local:9443/jazz/service/com.ibm.team.repository.common.internal.IItemRestService/com.ibm.team.repository/itemCol/com.ibm.team.interop.ExternalProxy?sync=true&linkuri=CQ%253Acq.repo.cq-record%253ABaseCMActivity%252F33582360%25402003.06.00%252Fcqgf". Exception message: 'Synchronize with External Objects' failed. Permission denied.
at com.ibm.team.repository.common.TeamRepositoryException.<init>(TeamRepositoryException.java:261)
at com.ibm.team.process.common.advice.TeamOperationCanceledException.<init>(TeamOperationCanceledException.java:37)
at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.advise(OperationAdviceManager.java:242)
at com.ibm.team.process.internal.common.util.AbstractProcess.doAdvise(AbstractProcess.java:181)
at com.ibm.team.process.internal.service.ServerProcess.access$1(ServerProcess.java:1)
at com.ibm.team.process.internal.service.ServerProcess$2.run(ServerProcess.java:132)
at com.ibm.team.repository.service.internal.TransactionService$1.run(TransactionService.java:104)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:466)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:292)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:331)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy29.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:288)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:79)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:68)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy71.runInTransaction(Unknown Source)
at com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:3361)
at com.ibm.team.process.internal.service.ProcessService.runInTransaction(ProcessService.java:3368)
at com.ibm.team.process.internal.service.ServerProcess.adviseAndExecute(ServerProcess.java:130)
at com.ibm.team.interop.service.internal.InteropService.saveProxyWithUri(InteropService.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy207.saveProxyWithUri(Unknown Source)
at com.ibm.team.interop.service.internal.InteropCrudService.createItem(InteropCrudService.java:137)
at sun.reflect.GeneratedMethodAccessor779.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy548.createItem(Unknown Source)
at com.ibm.team.gateway.service.internal.AbstractRestService.createNewItem(AbstractRestService.java:368)
at com.ibm.team.gateway.service.internal.ItemRestService.perform_POST(ItemRestService.java:70)
at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:90)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy175.service(Unknown Source)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:879)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1768)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1642)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1555)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1583)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:870)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3799)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:930)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:182)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

permanent link
John Vasta (2.6k15) | answered Jun 11 '10, 9:06 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Did you verify that the permissions are set correctly? The RTC user that the CQ Connector Gateway is configured to login as must be assigned a role that is granted the "Synchronize with External Objects" permissions under the Team Configuration area of the project area that synchronization is configured for. Do you have more than one project area?

It seems to indicate the problem is with the CQ account used for the sync, but again the privileges haven't changed. I've begun starting over rule by rule to see if that fixes the problem.

Thanks again,

Marty

permanent link
Martin Ertz (1643) | answered Jun 24 '10, 10:24 a.m.
Sorry for the delay, out of town and then pulled to work on something else.

You were right - the account setup months ago for our syncs had its permissions changed(which should not have been allowed to happen ><).

Thanks again for your help.

Your answer


Register or to post your answer.