RTC clearcsase bridge login problem
![]()
I am developing a plug-in for locking the clearcase activity from RTC client with workitem status change as "complete". But i am getting error as "No permission to perform operation "lock"."
|
Accepted answer
![]()
Geoffrey Clemm (30.1k●2●30●35)
| answered Oct 12 '12, 3:34 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Since ClearCase uses your OS identity, you need to check what OS identify that the plug-in is running as. Then login as that OS identity, and try the lock operation via cleartool. If you cannot figure out what OS identify your plug-in is running as, followup to this forum. If you get an error from cleartool that you don't understand, then you'll want to start a thread in the ClearCase forum:
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=333 Dnyanesh Markad selected this answer as the correct answer
Comments I am not able to figureout what os identity my olug-in is running as..
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To find out what OS identity you are running as, you can execute the whoami command ... to execute this command from within java, the easiest is probably to just spawn a shell process (e.g. http://www.java-forums.org/advanced-java/731-get-output-whoami.html). I'm not an expert at plug-in OS identity, but I would imagine a plugin running within eclipse will normally just run with whatever OS identity invoked the eclipse executable, while a plugin running on the server would run with whatever OS identity invoked the server. To get an authoritative answer, I'd suggest posting a new question on "What OS identity does my RTC plugin run as" (and indicate what kind of plug-ins you are interested in).
Thanks Geoffrey..!!
|