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
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
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
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?
Comments
Harmen Leenders
Aug 17 '12, 3:00 a.m.Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 17 '12, 6:06 a.m.