E-WL: WebLogic Fails to Start with Error "PersistentStoreException" or "Couldn't obtain an exclusive lock to the embedded LDAP data files directory" (Doc ID 622988.1)

Last updated on AUGUST 02, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.44 to 8.55 [Release 8.4]
Information in this document applies to any platform.

Symptoms

Unable to start/shutdown WebLogic.  The following errors are written to the WebLogic log files:

WebLogic 10.3 and 12c

<Jul 21, 2008 11:26:55 AM PDT> <Error> <Store> <BEA-280061> <The persistent store "_WLS_AdminServer" could not be deployed: weblogic.store.PersistentStoreException: java.io.IOException: Store:280021There was an error while opening the file store file "_WLS_ADMINSERVER000000.DAT"
weblogic.store.PersistentStoreException: java.io.IOException: Store:280021There was an error while opening the file store file "_WLS_ADMINSERVER000000.DAT"
at weblogic.store.io.file.Heap.open(Heap.java:166)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:87)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:327)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:318)
at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:135)
Truncated. see log file for complete stacktrace
java.io.IOException: Store:280021There was an error while opening the file store file "_WLS_ADMINSERVER000000.DAT"
at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:213)
at weblogic.store.io.file.StoreDir.open(StoreDir.java:103)
at weblogic.store.io.file.Heap.open(Heap.java:164)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:87)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:327)
Truncated. see log file for complete stacktrace
java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:51)
at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:138)
at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:107)
at weblogic.store.io.file.StoreFile.open(StoreFile.java:142)
Truncated. see log file for complete stacktrace


<Jul 21, 2008 11:26:55 AM PDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.DeploymentException:
at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:138)
at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:170)
at weblogic.store.admin.DefaultStoreService.start(DefaultStoreService.java:60)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:51)
at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:138)
at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:107)
at weblogic.store.io.file.StoreFile.open(StoreFile.java:142)
at weblogic.store.io.file.StoreDir.open(StoreDir.java:95)
at weblogic.store.io.file.Heap.open(Heap.java:164)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:87)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:327)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:318)
at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:135)
... 5 more


<Jul 21, 2008 11:26:55 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jul 21, 2008 11:26:55 AM PDT> <Error> <WebLogicServer> <BEA-000383> <Jul 21, 2008 11:26:55 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 

 

 WebLogic 9.2:

####<Jun 16, 2009 9:25:58 AM MST> <Critical> <WebLogicServer> <hqpsfindev> <PIA> <main> <> <> <> <1245169558987> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: [Store:280020]There was an error while reading from the log file
at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:44)
at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: weblogic.store.PersistentStoreException: [Store:280020]There was an error while reading from the log file
at weblogic.store.io.file.Heap.getNextRecoveryFile(Heap.java:794)
at weblogic.store.io.file.Heap.open(Heap.java:181)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:85)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:353)
at weblogic.store.PersistentStoreManager.createFileStore(PersistentStoreManager.java:202)
at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:61)
at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:42)
... 4 more
Caused by: java.io.IOException: Error reading from file, Reached the end of the file., errno=38
at weblogic.store.io.file.direct.DirectIONative.read(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.read(DirectFileChannel.java:133)
at weblogic.store.io.file.StoreFile.read(StoreFile.java:281)
at weblogic.store.io.file.Heap.getNextRecoveryFile(Heap.java:792)


 

WebLogic 8.1:

<SERVER>_weblogic.log, where <SERVER> could be the WebLogicAdmin, PIA, or any of the configured managed servers:

####<Mar 24, 2004 5:23:15 PM EST> <Notice> <Log Management> <atlempactest> <PIA> <main> <> <> <BEA-170019> <The server log file /usr/db14/psoft/efs88a/webserv/peoplesoft/logs/PIA_weblogic.log is opened. All server side log events will be written to this file.>
####<Mar 24, 2004 5:23:17 PM EST> <Error> <EmbeddedLDAP> <atlempactest> <PIA> <main> <> <> <000000> <Error Instantiating 'dc=peoplesoft': null>
####<Mar 24, 2004 5:23:17 PM EST> <Critical> <WebLogicServer> <atlempactest> <PIA> <main> <> <> <BEA-000364> <Server failed during initialization. Exception:java.lang.ClassCastException
java.lang.ClassCastException
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.javANSWER:265)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.javANSWER:814)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.javANSWER:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.javANSWER:342)
at weblogic.Server.main(Server.javANSWER:32)

OR:

####<Mar 24, 2004 5:50:36 PM EST> <Critical> <WebLogicServer> <atlempactest> <WebLogicAdmin> <main> <> <> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: ./WebLogicAdmin/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: ./WebLogicAdmin/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.javANSWER:947)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.javANSWER:221)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.javANSWER:814)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.javANSWER:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.javANSWER:342)
at weblogic.Server.main(Server.javANSWER:32)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms