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

Problem
Unable to start Oracle Weblogic Server because of the following message:

...
<BEA-141281> <unable to get file lock, will retry ...>
...
Cause
There may be two reasons why your Weblogic raises BEA-141281 exception:

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

In both cases server creates a special lock file which should be deleted during the server shutdown process.

Solution
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).

Delete <ServerName>.lok  file:

    1. For JDeveloper integrated weblogic server:
      ~/.jdeveloper/system<jdev_version>/DefaultDomain/servers/DefaultServer/tmp/DefaultServer.lok
    2. For standalone weblogic server:
      <weblogic_home>/user_projects/domains/<domain_name>/servers/<server_name>/tmp/<server_name>.lok

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Alecia Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Alecia
Guest
Alecia

Me ayudaste mucho Gracias!!

Close Menu