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

How do I get the component a package belongs to ?

What do people us to find the component a class or a package belongs to ?
How do I find that
com.ibm.team.repository.service.internal.permission.PermissionService is part of the repository component.

Reminder, the goal for me is not to know where com.ibm.team.repository.service.internal.permission.PermissionService is defined, I know it is repository

The goal is to undersstand how one would find that out :)


com.ibm.team.repository.common.PermissionDeniedException: The user "<userid>" is not authorized to perform the operation. The "JazzAdmins" role is required to perform this operation.<br>
at com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionUsingJ2EERoles(PermissionService.java:116)<br>
at com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionWithMessage(PermissionService.java:60)<br>
at com.ibm.team.repository.service.internal.permission.PermissionService.assertPermission(PermissionService.java:52)<br>
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:618)<br>

0 votes



One answer

Permanent link
One way is request the "show in Package Explorer" operation on the class
or package. The package explorer annotates each package with the Jazz
component it is in.

Cheers,
Geoff

celek wrote:
What do people us to find the component a class or a package belongs
to ?
How do I find that
com.ibm.team.repository.service.internal.permission.PermissionService
is part of the repository component.

Reminder, the goal for me is not to know where
com.ibm.team.repository.service.internal.permission.PermissionService
is defined, I know it is repository

The goal is to undersstand how one would find that out :)


com.ibm.team.repository.common.PermissionDeniedException: The user
"<userid>" is not authorized to perform the
operation. The "JazzAdmins" role is required to perform
this operation.<br
at
com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionUsingJ2EERoles(PermissionService.java:116)<br
at
com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionWithMessage(PermissionService.java:60)<br
at
com.ibm.team.repository.service.internal.permission.PermissionService.assertPermission(PermissionService.java:52)<br
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown
Source)<br
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br
at java.lang.reflect.Method.invoke(Method.java:618)<br

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

Question asked: Apr 27 '09, 8:25 a.m.

Question was seen: 5,796 times

Last updated: Apr 27 '09, 8:25 a.m.

Confirmation Cancel Confirm