Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



2 answers

Permanent link
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:

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?

0 votes


Permanent link
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?

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,978

Question asked: Jun 14 '10, 8:18 a.m.

Question was seen: 6,195 times

Last updated: Jun 14 '10, 8:18 a.m.

Confirmation Cancel Confirm