Error while running the workshopSetup.bat file while RTC plugin setup. Error code: CRJAZ6053E
Hello,
Error while RTC plugin setup.
Error code : CRJAZ6053E
RTC version : RTC6.0.6.1
D:\RTC6061Dev\Installs\WorkshopSetup>set JAVA_HOME=D:/RTC6061Dev/Installs/JazzTeamServer/server/jre
D:\RTC6061Dev\Installs\WorkshopSetup>set PLAIN_JAVA=D:/RTC6061Dev/Installs/PlainJavaAPI
D:\RTC6061Dev\Installs\WorkshopSetup>set REPOSITORY="https://localhost:9443/ccm"
D:\RTC6061Dev\Installs\WorkshopSetup>set USERID="kirti"
D:\RTC6061Dev\Installs\WorkshopSetup>set PASSWORD="kirti"
D:\RTC6061Dev\Installs\WorkshopSetup>D:/RTC6061Dev/Installs/JazzTeamServer/server/jre\bin\java -cp D:/RTC6061Dev/Installs/PlainJavaAPI/;./ com.ibm.js.rtcext.serversetup.ServerSetup "https://localhost:9443/ccm" "kirti" "kirti"
Starting Team Platform
log4j:WARN No appenders could be found for logger (com.ibm.team.repository.common.internal.util.InternalTeamPlatform).
log4j:WARN Please initialize the log4j system properly.
Team Platform started
Trying to log into repository: https://localhost:9443/ccm
Login succeeded.
Trying to find or deploy template: scrum2.process.ibm.com
Template found...
Trying to find or create Project Area: RTC Extension Workshop
Project Area found: RTC Extension Workshop
Trying to add members with roles: ScrumMaster to Project AreaRTC Extension Workshop
Users with Roles added to RTC Extension Workshop
Ambiguous Component Names
Found Component: RTC Extension Lab Code License
RTC Extension Workshop Configuration - Server Not found.... ,create or re-use component
RTC Extension Lab Code - Server Not found.... ,create or re-use component
RTC Extension Lab Code - Common Not found.... ,create or re-use component
RTC Extension Lab Code - Client Not found.... ,create or re-use component
RTC Extension Launches - Server Not found.... ,create or re-use component
RTC Extension Launches - Client Not found.... ,create or re-use component
Renamig Component: Tata Sky Project Default Component to RTC Extension Lab Code - Server
Rename component to: RTC Extension Lab Code - Server
com.ibm.team.repository.common.PermissionDeniedException: CRJAZ6053E To complete the 'Save Component' task, you need these permissions: 'You don't have permission to perform the following actions:
Modify the component name (modify/component/attributes/name)'
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:377)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:347)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:312)
at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:716)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:559)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at com.sun.proxy.$Proxy27.renameComponent(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:254)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:110)
at com.sun.proxy.$Proxy27.renameComponent(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(ScmServiceInterfaceProxy.java:170)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1355)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1350)
at com.ibm.team.scm.client.internal.ScmClientLibraryContext.callCancelableService(ScmClientLibraryContext.java:71)
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invokeCancelableService(ScmServiceInterfaceProxy.java:166)
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invoke(ScmServiceInterfaceProxy.java:94)
at com.sun.proxy.$Proxy27.renameComponent(Unknown Source)
at com.ibm.team.scm.client.internal.WorkspaceManager.renameComponent(WorkspaceManager.java:2648)
at com.ibm.team.scm.client.internal.WorkspaceManager.renameComponent(WorkspaceManager.java:2625)
at com.ibm.js.rtcext.serversetup.ServerSetup.renameOrCreateComponent(ServerSetup.java:780)
at com.ibm.js.rtcext.serversetup.ServerSetup.manageComponents(ServerSetup.java:705)
at com.ibm.js.rtcext.serversetup.ServerSetup.run(ServerSetup.java:170)
at com.ibm.js.rtcext.serversetup.ServerSetup.main(ServerSetup.java:110)
D:\RTC6061Dev\Installs\WorkshopSetup>pause
Press any key to continue . . .
Thanku,
Kirti
9156951041.
Accepted answer
The error is quite obvious, as it says it is a permission error. The user you use to run the workshop setup does not have the repository role/permission to perform the operation. You also don't follow the workshop, otherwise the user would be "myadmin".
I would suggest to follow the workshop and setup your own debug server, otherwise you will not be successful, especially if you struggle to understand messages such as:
"com.ibm.team.repository.common.PermissionDeniedException: CRJAZ6053E To complete the 'Save Component' task, you need these permissions: 'You don't have permission to perform the following actions:
Modify the component name (modify/component/attributes/name)'"
The Workshop setup is also not designed to be run against an existing production server, as it will grab and rename stuff. I decided to do that, to keep the setup as compact as possible.