https://bz.apache.org/bugzilla/show_bug.cgi?id=64184

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Stefan Roukens from comment #0)
> Why should it repeatedly try to close the file if it already noticed at
> startup that the file didn't exists.

If the file doesn't exist at startup, it may be created later and then take
effect.

> SEVERE: The specified user database [conf/tomcat-users.xml] could not be
> found
> Feb 28, 2020 9:22:59 AM org.apache.catalina.users.MemoryUserDatabase open
> WARNING: Failed to close [conf/tomcat-users.xml]
> java.io.FileNotFoundException: /sidn/tomee/rdap/conf/tomcat-users.xml (No
> such file or directory)

It looks like there is a confusing error message, here. It's not failing to
close the file; it's failing to open it in the first place. It's possible this
is an effect of using try-with-resources.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to