Error while running process "FileSystemException: File closed"
Error on AEUI:
org.apache.commons.vfs2.FileSystemException: Could not write to file:”File_path”
Error in logs:
org.apache.commons.vfs2.FileSystemException: File closed.at org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen(MonitorOutputStream.java:162) ~[commons-vfs2-2.1.jar:2.1]
Issue To Reproduce:
- Remove the read/write access permission to the user
Solution:
- You will get this error because of the file read/write permission.
- Please check the machine-user on which the agent is running have the read/write access to this file input/output file.
- If the user doesn’t have read/write permission then you have provide the read/write access to this user or run the agent on another user who has read/write permission to this file.