Error Message :
<Critical> <WebLogicServer> <marsvca1> <AdminServer> <main> <<WLS Kernel>> <> <> <1352125428677> <BEA-000362> <Server failed. Reason:
weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error whi
le opening the file store file "WLS_DIAGNOSTICS000000.DAT"
[Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
Why is this error displayed :
This error is displayed when the NFS system does not release the lock on the weblogic stores. Weblogic Application server maintains locks on the files that are used for storing the data and transaction logs to protect the files from data corruption in case of two instances of the same weblogic applicaiton server are started accidentally. If the server is shutdown abruptly or is crashed, Many times the locks are no released, As a result when the weblogic application server is restarted, The server will fail to acquire locks that are previously locked.
Solution :
Delete the .Dat and .lok files from the following respective directories and restart the server.
Paths for Admin Server :
$DOMAIN_HOME/servers/<server name>/tmp/Adminserver.lok
$DOMAIN_HOME/servers/<server name>/data/ldap/ldapfiles/Embedded.lok
$DOMAIN_HOME/servers/<server name>/data/store/default/_WLS_ADMINSERVER000000.DAT
$DOMAIN_HOME/servers/<server name>/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
Path for Managed Servers :
$DOMAIN_HOME/servers/<server name>/tmp/<servername>.lok
$DOMAIN_HOME/servers/<server name>/data/ldap/ldapfiles/Embedded.lok
$DOMAIN_HOME/servers/<server name>/data/ldap/store/default/_WLS_<servername>000000.DAT
$DOMAIN_HOME/servers/<server name>/data/ldap/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
0 comments:
Post a Comment