由于weblogic所在磁盘空间不足,导致weblogic运行日志无法读写到本地磁盘,weblogic宕机,重新启动无效,抛出以下异常:
####<2011-2-15 上午11时32分57秒 CST> <Critical> <WebLogicServer> <liaoning8dfbce1> <AdminServer> <Main Thread> <<WLS
Kernel>> <> <> <1297740777470> <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.recover(Heap.java:706)
at weblogic.store.io.file.FileStoreIO.recover(FileStoreIO.java:585)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:94)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:350)
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, 已到文件结尾。, errno=38
at weblogic.store.io.file.direct.DirectIONative.read(JJLjava.nio.ByteBuffer;II)I(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)
... 11 more
>
####<2011-2-15 上午11时47分48秒 CST> <Notice> <WebLogicServer> <> <> <Main Thread> <> <> <> <1297741668673> <BEA-000395>
<Following extensions directory contents added to the end of the classpath:
C:\bea\weblogic92\platform\lib\p13n\p13n-
schemas.jar;C:\bea\weblogic92\platform\lib\p13n\p13n_common.jar;C:\bea\weblogic92
\platform\lib\p13n\p13n_system.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_common.jar;C:\bea\weblogic92
\platform\lib\wlp\netuix_schemas.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_system.jar;C:\bea\weblogic92
\platform\lib\wlp\wsrp-common.jar>
####<2011-2-15 上午11时47分49秒 CST> <Info> <WebLogicServer> <> <> <Main Thread> <> <> <> <1297741669470> <BEA-000377>
<Starting WebLogic Server with BEA JRockit(R) Version R26.0.0-189_CR269406-59389-1.5.0_04-20060322-1120-win-ia32 from BEA
Systems, Inc.>
####<2011-2-15 上午11时47分50秒 CST> <Info> <Management> <> <> <Main Thread> <> <> <> <1297741670220> <BEA-141107> <Version:
WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 >
####<2011-2-15 上午11时47分52秒 CST> <Info> <WebLogicServer> <> <> <Main Thread> <> <> <> <1297741672486> <BEA-000215>
<Loaded License : C:\bea\license.bea>
####<2011-2-15 上午11时47分52秒 CST> <Notice> <WebLogicServer> <> <> <Main Thread> <> <> <> <1297741672501> <BEA-000365>
<Server state changed to STARTING>
####<2011-2-15 上午11时47分52秒 CST> <Info> <WorkManager> <> <> <Main Thread> <> <> <> <1297741672517> <BEA-002900>
<Initializing self-tuning thread pool>
####<2011-2-15 上午11时47分52秒 CST> <Info> <WebLogicServer> <> <> <Main Thread> <> <> <> <1297741672657> <BEA-000214>
<WebLogic Server "AdminServer" version:
WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 (c) 1995, 1996, 1997, 1998
WebLogic, Inc.
(c) 1999, 2000, 2001 BEA Systems, Inc.>
####<2011-2-15 上午11时47分52秒 CST> <Info> <Diagnostics> <liaoning8dfbce1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for
queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297741672845> <BEA-320001> <The ServerDebug service
initialized successfully.>
####<2011-2-15 上午11时47分52秒 CST> <Info> <Store> <liaoning8dfbce1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297741672954> <BEA-280050> <Persistent store
"WLS_DIAGNOSTICS" opened:
directory="C:\bea\user_projects\domains\sg186nd_domain\.\servers\AdminServer\data\store\diagnostics" writePolicy="Disabled"
blockSize=512 directIO=false driver="wlfileio2">
####<2011-2-15 上午11时47分54秒 CST> <Critical> <WebLogicServer> <liaoning8dfbce1> <AdminServer> <Main Thread> <<WLS
Kernel>> <> <> <1297741674392> <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.recover(Heap.java:706)
at weblogic.store.io.file.FileStoreIO.recover(FileStoreIO.java:585)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:94)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:350)
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, 已到文件结尾。, errno=38
at weblogic.store.io.file.direct.DirectIONative.read(JJLjava.nio.ByteBuffer;II)I(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)
... 11 more
>
将domains/sg186nd_domain/servers/AdminServer/data/store/diagnostics下的DAT文件备份后删除,启动weblogic。