Home > General > Weblogic Error : unable to get file lock, will retry …

Weblogic Error : unable to get file lock, will retry …


When you see the following error:

 <BEA-141281> <unable to get file lock, will retry …> 


  • Stop the console Ctrl+C
  • Go to the <weblogic>\user_projects\domains\<Your Domain>\servers\<your server>\tmp\
  • <your server> above could be AdminServer if you are facing issue starting adminserver, wls_ods1 if you are seeing issues starting wls_ods1 managed server or wls_oif1
  • Locate the .lok file in the tmp folder and delete it. (In case of windows machine, the system might not allow you to delete it, in such a case I just restarted my machine and deleted the .lok file. There might be some other better way without needing to restart the server)
  • Now just start the server to see the issue is gone.
  1. Anbu
    November 11, 2014 at 1:00 AM

    Thanks. it worked.


  2. Bharathi
    May 26, 2016 at 11:20 AM

    thanks.. it works for me..


  3. Bharathi
    May 26, 2016 at 11:23 AM

    one more tip.. if you are using windows, no need to restart the system. just you can kill the running java processes in task manager.then you can delete the .lok file


  4. Hira Ejaz
    June 2, 2016 at 6:23 PM

    I tried to delete this AdminServer.lok file but when I try to start the BI services then this file gets created again and I am still unable to login. any help would be appreciated.


    • June 4, 2016 at 12:22 AM

      Hi Ejaz, I don’t have the setup any more to test or simulate your problem… Ideally this file get auto created by weblogic server everytime you start the server. ‘am sure problem you are facing is something different…


  5. Everson JR
    October 31, 2016 at 10:50 AM

    Thank you… It works!


  6. Samuel9406
    December 14, 2016 at 12:00 PM

    Thanks a lot for this solution.


  7. marcel
    October 3, 2017 at 8:28 AM

    i have the same problem before . This happened because you try to run Weblogic server but its on in the previous session. So need to go to task manager and kill java.exe associated to weblogic and restart server .


  8. darwin
    April 10, 2018 at 7:35 PM

    Nice, usefully solution for me


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: