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

--- Comment #2 from Erich Siffert <si...@yahoo.com> ---
ok, I digged into this a little bit deeper -- I figured out that there is a new
flag "watchSource=false" (default is true) which can be set:

    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml"
        watchSource="false"                       />

when I set the flag to false, everything seems to be fine!

I suspect the issue is somewhere here:

MemoryUserDatabase.java

in method "public void backgroundProcess()" which reads the file:
[...]
        URI uri = ConfigFileLoader.getURI(getPathname());
        try {
            URL url = uri.toURL();
            URLConnection uConn = url.openConnection();
[...]

but it looks like it remains open....

-- 
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