tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36771] New: - Using DataSource Realm exausts connections on redeploy
Date Thu, 22 Sep 2005 13:38:05 GMT
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


Mime
View raw message