https://issues.apache.org/bugzilla/show_bug.cgi?id=51139

             Bug #: 51139
           Summary: Possible bug in code related to "validatorClassName"
                    property?
           Product: Tomcat Modules
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: tkosa...@gmail.com
    Classification: Unclassified


Created attachment 26945
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=26945
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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to