the file now exists in:
C:\Documents and Settings\user\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain
remove the edit.lok from there.
---------------------------------------------------------------------------------
In JDeveloper 11.1.1.0.1, there is often some problem with Lock session:
weblogic.management.ManagementException: [Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.
Simple solutions like restarting JDev, redeploying, clean , recompile and redeploy.. The problem persists.
Someone could easily suggest to remove system folder and restart JDev... But this will take time to reset your enviroment..
The session Lock is kept under Weblogic and in the following folder
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
and is the file edit.lok.
rename it or remove it and start your application again. Weblogic will recreate the .lok file.