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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to