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

The described exception is a one of the most common problems that ADF developers experience. Let’s see how to fix your internal/standalone Weblogic server instance.

Problem

Unable to start Oracle Weblogic Server because of <BEA-141281> <unable to get file lock, will retry ...>  message.

Cause

There may be two reasons why your Weblogic raises BEA-141281 exception:

  • The Weblogic Server instance is still running
  • It was incorrectly closed

Solution

  1. Ensure that java process associated with weblogic server has finished. Go to task manager ( ps -e  in linux) and kill running weblogic server instance. You can find the right process by filtering by java processes ( ps -e|grep java in linux).
  2. Delete <ServerName>.lok  file:
    1. JDeveloper integrated weblogic server:
    2. Standalone weblogic server:

I hope it was helpful to you. If you have any questions, feel free to ask me in comments below.

Leave a Reply

1 Comment on "[SOLVED] BEA-141281 – unable to get file lock, will retry"

avatar
  Subscribe  
newest oldest most voted
Notify of
Alecia
Guest

Me ayudaste mucho Gracias!!

Close Menu