Search This Blog

Saturday, 14 November 2015

Error Staring Managed Server : cannot open file _WLS_BI_SERVER1000000.DAT

The persistent store "_WLS_bi_server1" encountered a fatal error, and it must be shut down: weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_bi_server1" cannot open file _WLS_BI_SERVER1000000.DAT.

Error:
weblogic.store.PersistentStoreException: [Store:280105]The persistent file store "_WLS_bi_server1" cannot open file _WLS_BI_SERVER1000000.DAT.
        at weblogic.store.io.file.Heap.open(Heap.java:325)
        at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)
        at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:431)
        at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:422)
        at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)

OR

 <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1306852872205> <BEA-320000> <The Diagnostics subsystem is initializing on Server wls_ods1.> 
<Info> <Store> <ojoid01> <wls_ods1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1306852872303> <BEA-280008> <Opening the persistent file store "WLS_DIAGNOSTICS" for recovery: directory=/mwhome/user_projects/domains/IDMDomain/servers/wls_ods1/data/store/diagnostics requestedWritePolicy="Disabled" fileLockingEnabled=true driver="wlfileio3".> 
 <Critical> <WebLogicServer> <ojoid01> <wls_ods1> <main> <> <> <> <1306852872315> <BEA-000386> <Server subsystem failed. 
Reason: 
java.lang.NullPointerException
java.lang.NullPointerException
  at weblogic.store.io.file.StoreFile.close(StoreFile.java:432)
  at weblogic.store.io.file.Heap.open(Heap.java:307)
  at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)
  at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:413)
  at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:404)
  at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:118)
  at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:91)
  at weblogic.diagnostics.lifecycle.DiagnosticSystemService.start(DiagnosticSystemService.java:128)
  at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

OR

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)....
.........
Caused by: java.io.IOException: Error reading from file, No such file or directory, errno=2
  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)

Reason for Error:

The file $DOMAIN_HOME/servers/<ServerName>/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT is somehow corrupted.

The Archive component of the WebLogic Diagnostics Framework (WLDF) captures and persists all data events, log records, and metrics collected by WLDF from server instances and applications running on them and saves them into this file. So having this file corrupted prevents the server from writing the WLDF information, and hence it fails to start.

Solution:

Backup and remove the WLS_DIAGNOSTICS000000.DAT file, then restart the server: a new file will be created automatically.

This should not affect the server performance. It will only cause the loss of the archived diagnostic information (which is likely already lost since the file is corrupt).


Restart the Managed Server.



Oracle DoC ID: 

1. WebLogic Managed Servers Fail During Startup with NullPointerException on the Persistent File Store (Doc ID 1327538.1)
2.   WebLogic Server Diagnostics File is Corrupt or Locked (Doc ID 1059924.1)

No comments:

Post a Comment