tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54336] connection may not close in JDBCRealm when some exception happen
Date Wed, 02 Jan 2013 19:24:18 GMT

Violeta Georgieva <> changed:

           What    |Removed                     |Added
                 OS|                            |All

--- Comment #1 from Violeta Georgieva <> ---

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. 

Violeta Georgieva

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message