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]
AAI 24.x
Windows
These messages can safely be ignored as they do not indicate any problem with the functionality of AAI or its logging.