tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54336] connection may not close in JDBCRealm when some exception happen
Date Wed, 02 Jan 2013 19:24:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54336

Violeta Georgieva <violetagg@apache.org> changed:

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

--- Comment #1 from Violeta Georgieva <violetagg@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message