Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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
====
com.ibm.team.repository.common.PermissionDeniedException: The user "<Unknown>" is not authorized to perform the operation. The "JazzUsers" role is required to perform this operation.
====
Is there any workaround for this? Thanks, Tami

0 votes



One answer

Permanent link
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
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 ====
com.ibm.team.repository.common.PermissionDeniedException: The user
"<Unknown>" is not authorized to perform the operation. The "JazzUsers"
role is required to perform this operation.
====
Is there any workaround for this? Thanks, Tami

You shouldn't spawn your own threads on the server.

- Jared
-----------------------
Jazz Team Process

0 votes

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!! 

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,996

Question asked: Jul 29 '10, 9:12 p.m.

Question was seen: 5,043 times

Last updated: Jun 03 '14, 5:48 a.m.

Confirmation Cancel Confirm