Why do I get "Reason Code: unauthorized" when importing from ClearCase?
Michal Hladik (21●1●2)
| asked Jun 27 '12, 11:24 a.m.
edited Jul 03 '12, 3:37 p.m. by Geoffrey Clemm (30.1k●3●30●35)
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 answers
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 Comments
Geoffrey Clemm
commented Jun 28 '12, 4:44 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
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.
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.