6 Replies Latest reply on Aug 15, 2011 2:58 PM by 882392

    WebLogic does not start due to issues with WLS_DIAGNOSTICS000000.DAT

    684845
      My customer is getting the following exception everytime he tries to restart his WebLogic services:

      ####<Jun 16, 2009 9:23:46 AM MST> <Critical> <WebLogicServer> <hqpsfindev> <PIA> <main> <<WLS Kernel>> <> <> <1245169426020> <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)
           ... 10 more


      He has narrowed this down to the following: He deletes

      ...\domain\servers\WebLogicAdmin (or managed server)\data\store\default\XXXXX.dat (WLS_DIAGNOSTICS000000.DAT). He also deletes the .dat file under diagnostics and then the service starts without issue.

      Can't be doing this every time he bounces his server.

      Does this call stack indicate lack of disk space?

      Caused by: java.io.IOException: Error reading from file, Reached the end of the file., errno=38

      Is there a way to disable diagnostics so this files don't get generated?

      Thanks!