|Summary:||Possible bug in code related to "validatorClassName" property?|
|Component:||jdbc-pool||Assignee:||Tomcat Developers Mailing List <dev>|
|Attachments:||Add missing validatorClassName prpoerty to ALL_PROPERTIES array|
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.