You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/09/22 15:38:05 UTC
DO NOT REPLY [Bug 36771] New: -
Using DataSource Realm exausts connections on redeploy
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: dusty@nibbles.it
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org