Bug 51139 - Possible bug in code related to "validatorClassName" property?
Summary: Possible bug in code related to "validatorClassName" property?
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 03:08 UTC by tkosacek
Modified: 2011-09-09 01:21 UTC (History)
0 users



Attachments
Add missing validatorClassName prpoerty to ALL_PROPERTIES array (617 bytes, text/plain)
2011-05-01 03:08 UTC, tkosacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tkosacek 2011-05-01 03:08:56 UTC
Created attachment 26945 [details]
Add missing validatorClassName prpoerty to ALL_PROPERTIES array

I've been trying to configure a connection pool that includes a custom validator class, however it seems like if the "validatorClassName" property is specified in the configuration XML, the property is not getting passed to the new created datasoure implementation in DataSourceFactory.  It seems the properties array, ALL_PROPERTIES, in DataSourceFactory does not contain validatorClassName so that property is never propogated?  When I add the property to the ALL_PROPERTIES array, it seems to work as I would expect.  Have I missed something in the expected configuration? I'll attach a patch for the proposed mod to DataSourceFactory.java.
Comment 1 Keiichi Fujino 2011-09-09 01:21:20 UTC
Fixed r1166619.