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

Problem running 'checkin' from scm command line

While i was trying to checkin few files using the scm command line i get the below error message:

Problem running 'checkin': Could not lock C:\RTC-InformationAnalyzer - locked by other process.

Can someone help me out to resolve this issue?

0 votes


Accepted answer

Permanent link
Are you using any other client (such as RTC Eclipse/Visual Studio client) that is using the same sandbox? If so, you may see this error because one of the client has the lock on that sandbox.

Nagarani Boggarapu selected this answer as the correct answer

0 votes

Comments

Yes, i couldn't realize that the RTC client on the same sandbox was open and which was throwing the error.
Now i see that the command is being executed but since last 8 mins its trying to checkin and hasn't finished the command yet.  The checkin has few files which are sized few kbs.

 By the way, are you using 'scm' or 'lscm' to run the commands? If the RTC rich client was started first then you can still run the commands using 'lscm' as 'lscm' will use the daemon started by the rich client.

Note: This kind of usage might result in the UI showing up because the command is using the daemon started by the rich client.

I am using 'scm' to run the commands.  I am kicking off the tests from my Jenkins server.  I still see the checkin command is in progress and not finishing yet.  What could be the problem here?  It was working fine earlier when i tried to execute it from command line. 

Not sure. You mean the checkin command never returned or failed with a return code?

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

Question asked: Feb 27 '15, 4:43 a.m.

Question was seen: 3,101 times

Last updated: Mar 02 '15, 12:29 a.m.

Confirmation Cancel Confirm