Bug 51139 - Possible bug in code related to "validatorClassName" property?
Possible bug in code related to "validatorClassName" property?
Status: RESOLVED FIXED
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool
unspecified
PC All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
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.