It's all about the answers!

Ask a question

Problem running 'workspace unload': Could not register sandboxes.


Sean Burke (3789144247) | asked Jan 20 '15, 7:00 p.m.
edited Jan 20 '15, 7:01 p.m.
 I want to do an automated load from a stream as part of the build process.  The unload workspace lscm workspace unload -r 2642 in this script gives me the following error.  Could it be that I don't have to unload?  Something is off with my sandbox.  The default sandbox was c;\rtcwksp\stream_name but I changed the directory.  Should I just have kept the default sandbox location?

C:\RTC\deploy>lscm workspace unload dev workspace
com.ibm.team.repository.common.TeamRepositoryException: Failed to acquire locks
on requested sandboxes in 60000ms.
 .........................
Problem running 'workspace unload':
Could not register sandboxes.

Here is the script....

rem change directory
cd C:\RTC\deploy
rem log on to rtc
lscm login -r https://xxxxxxxxx/xxx -u username -P password -n jazz
rem unload workspace
lscm workspace unload -r 2642
rem load workspace
cd C:\RTC\deploy
lscm load --all --force -r jazz 2642
rem accept changes
lscm status -C
lscm accept -v -t 2642 -o 
rem log out of rtc
lscm logout -r https://xxxxxxxxxxxxxx/xxx

One answer



permanent link
Shashikant Padur (4.3k27) | answered Jan 20 '15, 10:14 p.m.
JAZZ DEVELOPER
What do you mean by default sandbox? Did you mean that you initially loaded it to c:\rtcwksp\stream_name and now want to load in C:\RTC\deploy?

Unload disconnects the sandbox from the repository workspace and the sandbox will no longer be tracked. It has an additional option to delete the contents of the sandbox. In your case you either run 'unload' from within the sandbox location or specify the -d/--directory option to the unload subcommand so that it knows the sandbox you are referring to.

Let us know if the above works.

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.