但行好事
莫论前程❤

Weblogic启动报错–WLS_DIAGNOSTICS000000.DAT

<2020-04-05午04时46分42秒 CST> <Notice> <Log Management> <BEA-170019> <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.> 
<2020-04-05 下午04时46分42秒 CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: 

There are 1 nested errors:

weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:66)
    at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.store.io.file.Heap.open(Heap.java:185)
    at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:88)
    at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:332)
    at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:323)
    at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:104)
    at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:177)
    at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:85)
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:64)
    ... 5 more
Caused by: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:214)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:104)
    at weblogic.store.io.file.Heap.open(Heap.java:183)
    ... 12 more
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:52)
    at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:139)
    at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:118)
    at weblogic.store.io.file.StoreFile.open(StoreFile.java:148)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:96)
    ... 13 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:64)
    at weblogic.protocol.URLManager.findAdministrationURL(URLManager.java:172)
    at weblogic.server.ServerLifeCycleRuntime.getLifeCycleOperationsRemote(ServerLifeCycleRuntime.java:793)
    at weblogic.t3.srvr.ServerRuntime.sendStateToAdminServer(ServerRuntime.java:423)
    at weblogic.t3.srvr.ServerRuntime.updateRunState(ServerRuntime.java:409)
    at weblogic.t3.srvr.T3Srvr.setState(T3Srvr.java:187)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:458)
    at weblogic.Server.main(Server.java:67)

解决办法:

  • 找到WLS_DIAGNOSTICS000000.DAT这个文件,删除后再启动weblogic。

文件WLS_DIAGNOSTICS000000.DAT位置

  • weblogic域中domain\servers\AdminServer\data\store\diagnostics文件夹下

如果重启了,还是不行。

  • 查出已经在运行的weblogic进程 ps -ef |grep weblogic 然后再杀死该进程 kill -9 <进行号> 最后再重新启动weblogic 即可
赞(0) 打赏
未经允许不得转载:刘鹏博客 » Weblogic启动报错–WLS_DIAGNOSTICS000000.DAT
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏