IWorkItemTemplateService is not remotely accessible.
I tried to do the following:
IWorkItemTemplateClient workItemTemplateClient = (IWorkItemTemplateClient)repository.getClientLibrary(IWorkItemTemplateClient.class); ... int[] ids = workItemTemplateClient.instantiateTemplate(workItemTemplateId, variables, projectArea.getProjectArea(), monitor); And i get: com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0055I The service com.ibm.team.workitem.common.internal.IWorkItemTemplateService is not remotely accessible. How can i fix this? |
2 answers
Hello,
I haven't seen this before. Can you provide a little more context about where you're instantiating the client library and where it is used? Thanks, Jan. -- Jan Wloka Jazz Tracking & Planning Team I tried to do the following: |
Hello,
I tried following: public Boolean useServerService(IProgressMonitor monitor) throws TeamRepositoryException { return fContext.callCancelableService(new IServiceRunnable<Boolean>() { public Boolean run(IProgressMonitor monitor) throws TeamRepositoryException { IProcessItemService compService = (IProcessItemService) fContext.getServiceInterface(IProcessItemService.class); return compService.getTeamRepository().getAutoLogin(); } }, monitor); } But it threw following exception: com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0055I The service com.ibm.team.process.client.IProcessItemService is not remotely accessible. at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.validateServiceCall(ServiceInterfaceProxy.java:194) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:87) at $Proxy22.getTeamRepository(Unknown Source) at com.ibm.team.sdwb.connector.client.TestRest$1.run(TestRest.java:30) at com.ibm.team.sdwb.connector.client.TestRest$1.run(TestRest.java:1) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1260) at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79) at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1253) at com.ibm.team.sdwb.connector.client.TestRest.useServerService(TestRest.java:27) at com.ibm.sdwb.cmvc.rtc.synchronizer.wizardPages.PropertyFileNewWizard$2.run(PropertyFileNewWizard.java:521) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) How do I fix this? Is it that the IProcessItemService can not be invoked through an 'outside' client? |
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.