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

Source: Internet
Author: User
Http://gdutlzh.blog.163.com/blog/static/164746951201291903824812/ <BEA-141281> <unable to get file lock, will retry...>

I ran into this error the first time I restarted WebLogic on one of my instals, the only reference that I was able to find is the error description below:

 

BEA-141281

Info:Unable to get file lock, will retry...

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.

The funny thing is that it tells you want to remove the locks but doesn't provide their location, if you are running obiee 11G you can remove adminserver. Lok from:

D: \ oracle \ fmw \ user_projects \ Domains \ bifoundation_domain \ servers \ adminserver \ TMP

If you are not using weblogic in the context of Oracle busines intelligence you can do a file search for any Lok files under your middleware home (D: \ oracle \ fmw ).

------------------------------------------------

Overview

Because the previous server was directly down and all processes were shut down abnormally, the following error was reported the next time WebLogic was started:

<2012-3-2 05:08:34 P.M. CST> <info> <Management> <BEA-141281> <unable to get file lock, will retry...>
<2012-3-2 05:08:44 P.M. CST> <info> <Management> <BEA-141281> <unable to get file lock, will retry...>

Solution

1. Delete the *. Lok file under domain

1. Delete edit. Lok

Go to domain_home:

CD/u01/Oracle/middleware/user_projects/domains/idm_domain

Delete the edit. Lok File

Rm edit. Lok

2. Delete config. Lok

Go to domain_home/config:

CD/u01/Oracle/middleware/user_projects/domains/idm_domain/config/

Delete the config. Lok File

Rm config. Lok

3. Delete adminserver. Lok

CD/u01/Oracle/middleware/user_projects/domains/idm_domain/servers/adminserver/tmp

Rm adminserver. Lok

4. Delete embeddedldap. Lok

/U01/Oracle/middleware/user_projects/domains/idm_domain/servers/adminserver/data/ldap/ldapfiles

Rm embeddedldap. Lok

2. Delete the *. dat file under domain:

Enter domain_home

CD/u01/Oracle/middleware/user_projects/domains/idm_domain

Found File deleted

[[Email protected] idm_domain] $ find servers/-name "*. dat"
Servers/adminserver/data/store/diagnostics/wls_diagnostics000000.dat
Servers/adminserver/data/store/default/_ wls_adminserver000000.dat

Restart weblogic!

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.