Why do I get a "sandbox in use" error when nothing else is using the sandbox?
Caused by: org.gradle.internal.UncheckedException: ** LSCM ERROR:The sandbox is in use by another RCP process (an eclipse GUI or another Rational Team Concert source control command line client). **
One answer
Comments
HI, Shashikant... No, no Eclipse running but I was running a series of commands in the same sandbox which may have accounted for it. I added a delay between commands which has helped but I'm getting a new problem (see updated question) with "jobs found still running". If I don't need the workspace, can I just catch this error and delete the whole workspace? Or put a better way, what's a good workaround for this issue?
The CLI locks the entire sandbox while it's running, so you can't run two CLI instances on the same sandbox simultaneously. If you want to do that, you can use 'lscm' and a daemon.
1 vote
Hmm, that's helpful but it's not my case, we are only using one CLI. The commands are not ran in parallel, they are in sequence. It will be rolling along just find and then at some point (it varies), will blow up with the error code 27.