DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36771>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36771 Summary: Using DataSource Realm exausts connections on redeploy Product: Tomcat 5 Version: 5.5.6 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hello, I'm testing an application with a DataSourceRealm configured in the Context in this way: <Realm className="org.apache.catalina.realm.DataSourceRealm" dataSourceName="jdbc/myds" roleNameCol="domain_name" userCredCol="password" userNameCol="username" userRoleTable="domainadmin" userTable="adminuser" /> They works fine but everytime I redeploy the application a connection is kept and not freed, so after redeploying n times where n is the number of connections defined in the datasource the realm can't work any more and I have to restart tomcat. I suppose the realm should intercept the context shutdown and release the connection used to authenticate users. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]