I just updated to tomcat 8.5.61. When starting the application with the document base out of webapps, the files at the document root get deleted at some point. I tried setting antiResourceLocking on the Context but to no avail. I had no issues with tomcat 8.5.59 and 9.0.39. I have the same behaviour with tomcat 9.0.41,8.5.60 and 9.0.40. Is there any other change in configuration which occured after 8.5.59 and 9.0.39? Regards.
The behaviour is quite the same on a CentOS 8 VM i set up.
sorry for the bother. I found the source of the issue. It doesn't concern tomcat.