How to un-lock a workspace after a force-close

Kevin AliKevin Ali Posts: 21 admin
edited December 2016 in Jtest

Description:
Parasoft-Test based products (such as SOAtest, Jtest, or Virtualize) are shipped as Eclipse plugins. When Eclipse starts, it opens a workspace - locking it so that other Eclipse instances cannot use the same workspace at the same time. When Eclipse shuts down, this workspace is then un-locked.

Cause:
When one of these products becomes unresponsive and must be force-closed (or killed in Linux), or the machine unexpectedly restarts, the workspace may not be un-locked on shutdown. When this happens, you will see an error when re-starting the application: "The specified workspace is in use".

Resolution:
Follow these steps:
Go to the workspace and open a folder called .metadata (note: on Linux, this is a hidden folder).
Find and delete a file called .lock
Try starting the application again - it should now open the workspace without issues.

Sign In or Register to comment.