Weblogic 服务器中的日志轮换错误
Log rotation error in Weblogic server
我正在使用 Weblogic 10.3.4。我在启动服务器时遇到错误。自上次成功启动以来,我没有更改任何服务器启动配置。
这是我在 nodemanager.log 文件中遇到的错误。
java.io.IOException: Could not rotate server output log file (rename from 'D:\GBKProject\logs\GBK120ServerOut.log' to 'D:\GBKProject\logs\GBK120ServerOut.log00001' failed).
at weblogic.nodemanager.server.LogFileRotationUtil.rotateLogFile(LogFileRotationUtil.java:75)
at weblogic.nodemanager.server.LogFileRotationUtil.rotateServerFiles(LogFileRotationUtil.java:38)
at weblogic.nodemanager.server.AbstractServerManager.startServer(AbstractServerManager.java:203)
at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:181)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:609)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:744)
我试过在路径中创建一个空文件GBK120ServerOut.log00001,还是不行。谁帮我看看为什么会出现这个错误?
没关系,我从 Oracle Support 找到了答案。任何有权访问的人,请参阅此 link。
这是他们的澄清。
Problem Statement :
Several Domains on the same box, using NodeManager, is intermittently having fatal exception when trying to restart/stop one server.
Issue Clarification:
Customer has many domains with multiple vm's on a single physical box.
Often when they stop/start only 1 of those, they will not be able to restart
it because the .out file will be referenced by a file handle in another java
process in the same domain, as well as either none, one or all nodemanagers
installed on that box.
Oracle 有针对上述 link 中此错误的可用补丁,但它需要访问权限。我重新启动了我的系统,这个锁定问题就解决了。
我正在使用 Weblogic 10.3.4。我在启动服务器时遇到错误。自上次成功启动以来,我没有更改任何服务器启动配置。
这是我在 nodemanager.log 文件中遇到的错误。
java.io.IOException: Could not rotate server output log file (rename from 'D:\GBKProject\logs\GBK120ServerOut.log' to 'D:\GBKProject\logs\GBK120ServerOut.log00001' failed).
at weblogic.nodemanager.server.LogFileRotationUtil.rotateLogFile(LogFileRotationUtil.java:75)
at weblogic.nodemanager.server.LogFileRotationUtil.rotateServerFiles(LogFileRotationUtil.java:38)
at weblogic.nodemanager.server.AbstractServerManager.startServer(AbstractServerManager.java:203)
at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:181)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:609)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:744)
我试过在路径中创建一个空文件GBK120ServerOut.log00001,还是不行。谁帮我看看为什么会出现这个错误?
没关系,我从 Oracle Support 找到了答案。任何有权访问的人,请参阅此 link。
这是他们的澄清。
Problem Statement : Several Domains on the same box, using NodeManager, is intermittently having fatal exception when trying to restart/stop one server.
Issue Clarification: Customer has many domains with multiple vm's on a single physical box. Often when they stop/start only 1 of those, they will not be able to restart it because the .out file will be referenced by a file handle in another java process in the same domain, as well as either none, one or all nodemanagers installed on that box.
Oracle 有针对上述 link 中此错误的可用补丁,但它需要访问权限。我重新启动了我的系统,这个锁定问题就解决了。