Getting LogManager error of type OPEN_FAILURE: Unable to rotate log file

Solution Verified - Updated -

Issue

  • Getting LogManager error of type OPEN_FAILURE: Unable to rotate log file:

    LogManager error of type OPEN_FAILURE: Unable to rotate log file
    The process cannot access the file because it is being used by another process.  
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)  
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)  
    at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387)  
    at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)  
    at java.nio.file.Files.move(Files.java:1395)  
    at org.jboss.logmanager.handlers.PeriodicSizeRotatingFileHandler.rotate(PeriodicSizeRotatingFileHandler.java:251)  
    at org.jboss.logmanager.handlers.PeriodicSizeRotatingFileHandler.preWrite(PeriodicSizeRotatingFileHandler.java:232)  
    at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:60)
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.8
  • Windows

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content