https://issues.apache.org/bugzilla/show_bug.cgi?id=54336

Violeta Georgieva <violet...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Violeta Georgieva <violet...@apache.org> ---
Hi,

According to the JDBCRealm implementation, the db connection is kept opened and
reused whenever it is needed.
It is like a simple connection pool with just one connection.
The connection is closed only when there is an SQLException in order to reopen
a new connection and ensure its clean state.
I think that the connection should not be closed each time as the overall
performance will be severely affected. 

Regards
Violeta Georgieva

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