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

Why do I get "Reason Code: unauthorized" when importing from ClearCase?

Hi, can anyone give us an advice how to import components from clearcase to rtc properly?

Currently we are facing this error which occures only for some components:

Processed activity "Error while trying to transfer: CONTROLLABLE_RESOURCE|M:/DO_NOT_USE_Brno_RTC_import_Int/CORE_COMPS/ACQUISITION
    Reason Code: unauthorized
    Reason: CRRTC4023W The root at "CONTROLLABLE_RESOURCE|M:/DO_NOT_USE_Brno_RTC_import_Int/CORE_COMPS/ACQUISITION" could not be transferred.
The synchronizer was not able to complete the requested operation
Fix any errors reported in the rest of the log file. " in 18 second(s)
...
Problem running 'synchronizeStream':
Synchronization blocked by error:
javax.wvcm.WvcmException: CRRTC4023W The root at "CONTROLLABLE_RESOURCE|M:/DO_NOT_USE_Brno_RTC_import_Int/CORE_COMPS/ACQUISITION" could not be transferred.
The synchronizer was not able to complete the requested operation
Fix any errors reported in the rest of the log file.
javax.wvcm.WvcmException: CRJAZ1319E Illegal read access:  User "ccbuilder" attempted to read item(s) having the following type(s): Component
javax.wvcm.WvcmException: CRJAZ1319E Illegal read access:  User "ccbuilder" attempted to read item(s) having the following type(s): Component
com.ibm.team.repository.common.PermissionDeniedException: CRJAZ1319E Illegal read access:  User "ccbuilder" attempted to read item(s) having the following type(s): Component
Build failed. Exit value was 3.

I'm logged as a ClearCase admin, synchronizer runs under user with ProjectOwner and ScrumMaster permission. He is even project administrator. It's a strange behaviour as it fails only for some components.

Thx for answer

2 votes

Comments

I got the same for another component :-)

Did you verify that these components are owned by the project area, and not an individual? Being ProjectOwner and ScrumMaster does not give you permission to read private components owned by a user account.



2 answers

Permanent link
Hello Michal,

It seems the error is thrown from the RTC side instead of the ClearCase side. The way the synchronizer works for the initial importing is that it looks up an RTC SCM component that matches the name with ClearCase side, and import files under the RTC SCM component. It is probably good idea to check the permission on the RTC SCM component that has the same name as ClearCase side. The component name in the ClearCase side is up to whether you use UCM, base ClearCase, or base ClearCase sub-VOB component. Please refer this page for more information.

https://jazz.net/help-dev/clm/topic/com.ibm.team.connector.scm.cc.doc/topics/r_compmap.html

1 vote

Comments

One thing I'd suggest looking for is whether the RTC component with that name is a "private" component (owned and visible only to the user that created it) or a "public" component owned by the team/project area. If so, it would be visible to the user that created it, but not to the synchronizer account. Assuming this is the problem, change the owner of those components to be the team/project area, and just re-run the sync request.


Permanent link
Could it be because of the history of some file is 'broken' after a filename is renamed in clear case and the old one 'deleted' after which the history 'link' is gone? 

0 votes

Comments

Well, it is probably nothing to do with the file rename or deletion in the history. If the error is like above, ( I mean, if the log contains something like:
CRJAZ1319E Illegal read access:  User "xxxx" attempted to read item(s) having the following type(s): Component ), it is simply a permission issue on the RTC component. Please make sure your synchronizer account has appropriate role in the team area AND also make sure the RTC component's access control allows the synchronizer account to access it.

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
× 173

Question asked: Jun 27 '12, 11:24 a.m.

Question was seen: 7,559 times

Last updated: Jun 13 '13, 2:20 p.m.

Confirmation Cancel Confirm