[SOLVED] BEA-141281 – unable to get file lock, will retry

Solution of starting weblogic server instance which was incorrectly closed.

Problem

Unable to start weblogic server because of <BEA-141281> <unable to get file lock, will retry ...>  message.

Cause

Weblogic server is still running or it was incorrectly closed.

Solution

  1. Ensure that java process associated with weblogic server has finished. Go to task manager (in Windows or ps -e  in linux) and kill running weblogic server instance. you can find it by filtering java processes.
  2. Delete <ServerName>.lok  file:
    1. JDeveloper integrated weblogic server: ~/.jdeveloper/system<jdev_version>/DefaultDomain/servers/DefaultServer/tmp/DefaultServer.lok
    2. Standalone weblogic server: <weblogic_home>/user_projects/domains/<domain_name>/servers/<server_name>/tmp/<server_name>.lok
Facebooktwittergoogle_plusredditlinkedinmail

Leave a Reply

Feel free to ask me about anything!

Notify of
avatar
wpDiscuz