Summary: | Context/Manager/Store configuration proposal | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | gjblajian |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | britsp |
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Implements configuration option for jndi based DataSource.
return pooled connections as early as poosible return pooled connections as early as poosible |
Description
gjblajian
2011-05-25 10:48:09 UTC
Patches welcome. Created attachment 27084 [details]
Implements configuration option for jndi based DataSource.
Implements configuration option for jndi based DataSource.
New attribute "dataSourceName" for JDBCStore. If this attribute is set, it will be used to get a DataSource from JNDI. If a DataSource was found, it will be used instead of direct configuration via "connectionURL" and "driverName".
Many thanks for the patch. It has been applied to 7.0.x and will be included in 7.0.15 onwards. *** Bug 47061 has been marked as a duplicate of this bug. *** Pooled connections should be released as early as possible. Otherwise "removeAbandoned" will likely cause havoc. Created attachment 27125 [details]
return pooled connections as early as poosible
Created attachment 27127 [details]
return pooled connections as early as poosible
remove can now reuse a connection.
Fixed in 7.0.x (with some minor tweaks) and will be in 7.0.16 onwards. |