After upgrading or installing AAI there are errors in the server log such as ERROR Unable to delete file <Install Dir>\jboss\standalone\log\jaws.log
search cancel

After upgrading or installing AAI there are errors in the server log such as ERROR Unable to delete file <Install Dir>\jboss\standalone\log\jaws.log

book

Article ID: 370354

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

After installing or upgrading AAI version with the updated jboss and log4j files you may see errors like below in server.log:

 

ERROR Unable to delete file <Install Dir>\jboss\standalone\log\jaws.log: java.nio.file.FileSystemException <Install Dir>\jboss\standalone\log\jaws.log: The process cannot access the file because it is being used by another process.

INFO  [org.jboss.stdio.AbstractLoggingWriter] 

 INFO  [org.jboss.stdio.AbstractLoggingWriter]

 

ERROR Unable to delete file <Install Dir>\jboss\standalone\log\telemetryService.log: java.nio.file.FileSystemException <Install Dir>\jboss\standalone\log\telemetryService.log: The process cannot access the file because it is being used by another process.

INFO  [org.jboss.stdio.AbstractLoggingWriter] 

org.jboss.stdio.AbstractLoggingWriter] ERROR StatusConsoleListener Unable to delete file <Install Dir>\jboss\standalone\logeportingService.log: java.nio.file.FileSystemException <Install Dir>\jboss\standalone\logeportingService.log: The process cannot access the file because it is being used by another process.

INFO  [org.jboss.stdio.AbstractLoggingWriter] 

INFO  [org.jboss.stdio.AbstractLoggingWriter]

 ERROR Unable to delete file <Install Dir>\jboss\standalone\log\collectorService.log: java.nio.file.FileSystemException <Install Dir>\jboss\standalone\log\collectorService.log: The process cannot access the file because it is being used by another process.

NFO  [org.jboss.stdio.AbstractLoggingWriter]

 

Environment

AAI 24.x

Windows

Resolution

These messages can safely be ignored as they do not indicate any problem with the functionality of AAI or its logging.