weblogic启动报错之WLS_DIAGNOSTICS000000.DAT

时间:2024-11-16 09:34:49

查看控制台日志报错信息如下:

<-- 下午04时46分42秒 CST> <Notice> <Log Management> <BEA-> <The server log file /app/weblogic103/bea/domains/fxgservice/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<-- 下午04时46分42秒 CST> <Critical> <WebLogicServer> <BEA-> <Server failed. Reason: There are nested errors: weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:)
at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:)
Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
at weblogic.store.io.file.Heap.open(Heap.java:)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:)
at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:)
at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:)
at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:)
at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:)
... more
Caused by: java.io.IOException: [Store:]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:)
at weblogic.store.io.file.StoreDir.open(StoreDir.java:)
at weblogic.store.io.file.Heap.open(Heap.java:)
... more
Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=
at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:)
at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:)
at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:)
at weblogic.store.io.file.StoreFile.open(StoreFile.java:)
at weblogic.store.io.file.StoreDir.open(StoreDir.java:)
... more >
***************************************************************************
The WebLogic Server encountered a critical failure
Reason: Assertion violated
***************************************************************************
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class weblogic.protocol.ServerIdentityManager$Initializer
at weblogic.protocol.ServerIdentityManager.findServerIdentity(ServerIdentityManager.java:)
at weblogic.protocol.URLManager.findAdministrationURL(URLManager.java:)
at weblogic.server.ServerLifeCycleRuntime.getLifeCycleOperationsRemote(ServerLifeCycleRuntime.java:)
at weblogic.t3.srvr.ServerRuntime.sendStateToAdminServer(ServerRuntime.java:)
at weblogic.t3.srvr.ServerRuntime.updateRunState(ServerRuntime.java:)
at weblogic.t3.srvr.T3Srvr.setState(T3Srvr.java:)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:)
at weblogic.Server.main(Server.java:)

解决办法:找到WLS_DIAGNOSTICS000000.DAT这个文件,删除后再启动weblogic。