Friday, July 27, 2012

Jdeveloper 11G : unable to get file lock, will retry




<     BEA-141281  unable to get file lock, will retry ...>
Introduction: This is one of the most irretating Issue I found with Jdeveloper/weblogic server.
Description  This message indicates that WLS can not get file lock because other process still holds the lock. W LS will try again before timeout.
Cause : This is an information-level message only.
Action : If WLS fails to start due to unable to get file lock, then lock files need to be removed manually before restart WLS.

If you are using WebLogic on Linux Platform:
1. Kill all the unwanted process(/root/home/oracle/Oracle/Middleware/user_projects/domain/testDomain/bin)
 ps -ef | grep java (Find the running process)
 kill -9 XXX (Kill the Processes)

If you are using Integrated WebLogic Server:
1. Remove all traces of (*.lok *.lck) from (C:\Users\Neelmani Jaiswal\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13)
2. Restart the WebLogic Server.