JDBC connector cannot find JDBC drivers that aren't part of the standard stable 
(e.g. Oracle)
---------------------------------------------------------------------------------------------

                 Key: CONNECTORS-390
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-390
             Project: ManifoldCF
          Issue Type: Bug
          Components: JDBC connector
    Affects Versions: ManifoldCF 0.3, ManifoldCF 0.4, ManifoldCF 0.5
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 0.5


The JDBC driver cannot find any JDBC drivers that are placed in the 
connectors/jdbc/jdbc-drivers area.  This is not because the drivers aren't 
correctly copied to connector-lib, but rather because they are loaded by the 
pool driver, which uses the mcf-core class loader to do it.

The fix is not obvious; there's no way to include more than one instance of the 
pool driver, and it's pretty well baked into the pool driver design to load the 
JDBC classes by reflection.  A workaround is to include the driver jar(s) in 
the start.jar manifest, or in the lib area for the multiprocess example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to