It's all about the answers!

Ask a question

Build - Could not acquire lock on *\.jazz5\.jazzlock

Mike Baker (11) | asked Oct 04 '10, 4:31 p.m.
edited Oct 10 '17, 11:58 a.m. by David Lafreniere (4.8k7)


Very new to RTC and I am trying to get some CI set-up. It looks like the there is a jazz lock file in my build workspace causing an issue.

any ideas?

2010-10-04 13:50:57 running on host: DENDWEBEPOTLS01
2010-10-04 13:50:57 Should build occur?
2010-10-04 13:50:57 Yes: Always build a user initiated request.
2010-10-04 13:50:57 Invoking pre-build participant ""
Accepting changes into workspace "DTP CI" ...
Fetching files to fetch destination "\dendwebepotls01\dtp_temp" ...$2: Status ERROR: code=209 Copy file area locked by another process. Could not acquire lock on \dendwebepotls01\dtp_temp.jazz5.jazzlock null

Accepted answer

permanent link
Anthony Kesterton (7.5k7180136) | answered Oct 05 '10, 6:31 a.m.
edited Oct 10 '17, 11:54 a.m. by David Lafreniere (4.8k7)


Are you creating a repo workspace for the "build" user to work on? Is \dendwebepotls01\dtp_temp a workspace owned by the build rather than using your own workspace? Generally, the build user grabs the files from the stream and loads them into their own workspace and runs the build. Set the build to access the build user's workspace.

If this is the build workspace - any chance you have overlapping builds (build not completed before you try and start the new one).


David Lafreniere selected this answer as the correct answer

David Lafreniere commented Oct 10 '17, 11:58 a.m.

This answer is old, and was never replied to. The questions that were posed by Anthony would help in identifying the correct answer however and thus I am marking this as the accepted answer.
This issue happens if another SCM daemon is running at '\dendwebepotls01\dtp_temp'.
This can happen if different builds are running on the same machine and both trying to load to the same directory, or if a user is using an RTC client (Eclipse, CLI, etc.) and has also loaded to that same directory.

Your answer

Register or 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.