Issue:
Feb 28, 2014 7:33:57 AM> java.io.IOException: Could not rotate server output log file (rename from 'C:\Oracle\Middleware_weblogic\user_projects\domains\osb_cluster_domain\servers\AdminServer\logs\AdminServer.out' to 'C:\Oracle\Middleware_weblogic\user_projects\domains\osb_cluster_domain\servers\AdminServer\logs\AdminServer.out00002' 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:119)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:662)
Reason:
While trying to restart the server after any abnormal Shutdown one may face below error
Resolution: It may happen due to improper shutdown the file io operation wasn’t closed properly. That’s why weblogic user is unable to rename the file. Restarting the m/c should resolve the issue.