Server side: Calling RTC service from different thread
A Deliver operation participant is trying to process some files being delivered.
In the operation participant, Trying to parallel some file processing,
a new class extending thread was created.
The class constructor received the following parameters:
IVersionableHandle fileToProcess, and IScmService scmService.
After the thread was started,
a call to
IVersionable v = scmService.fetchState(fileToProcess, null, null);
was made.
This resulted with the following exception:
com.ibm.team.repository.common.PermissionDeniedException: User GUEST is not allowed to read state _M2NUtMYGEeaXSfH6YaeXiQ
Trying to run the same call
( IVersionable v = scmService.fetchState(fileToProcess, null, null); )
from the thread that was invoked by the server,
inside the run method of the IOperationParticipant
was successful.
Is there a way to perform the service calls from a different thread ?
Thanks