Calling service from another service in a different thread
![]()
I am trying to call a service from another service. It works fine if the call is made from the main thread of caller's service. However, if the call is made from a separate thread, the PermissionDeniedException was thrown, like
==== Is there any workaround for this? Thanks, Tami |
One answer
![]()
Jared Burns (4.5k●2●9)
| answered Aug 11 '10, 9:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Fri, 30 Jul 2010 01:22:56 +0000, tamichan wrote:
I am trying to call a service from another service. It works fine if You shouldn't spawn your own threads on the server. - Jared ----------------------- Jazz Team Process Comments What if I need to process a very huge result set and I want every page being resolved in a different thread in order to pass control to the user as soon as possible? There is a way to do that without creating a thread or job? I have the same problem when I try to resolve workitem references inside the job. Hope you can help us!! thanks!! |