tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony_C...@putnam.com
Subject possible JDBCRealm bug?
Date Thu, 01 Aug 2002 21:09:11 GMT
org.apache.tomcat.aaa.JDBCRealm opens a database connection and never
closes the connection.

Would not a more correct behaviour be to open/close the connection
before/after verifying credentials?

When the connection is kept open, the corresponding database is held up.
For example, when using postgres, one cannot shutdown and restart the db
server without first
shutting down tomcat.

thought? opinions?

-Tony Chao


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message