You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/20 03:35:39 UTC
[jira] [Resolved] (CONNECTORS-390) JDBC connector cannot find JDBC
drivers that aren't part of the standard stable (e.g. Oracle)
[ https://issues.apache.org/jira/browse/CONNECTORS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright resolved CONNECTORS-390.
------------------------------------
Resolution: Fixed
r1233737 fixes the problem, by changing the instructions and the class paths in the example and build.
> 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