[infinispan-issues] [JBoss JIRA] (ISPN-1851) c3p0 and missing JDBC drivers

Tristan Tarrant (JIRA) jira-events at lists.jboss.org
Thu Feb 9 08:08:48 EST 2012


    [ https://issues.jboss.org/browse/ISPN-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665330#comment-12665330 ] 

Tristan Tarrant commented on ISPN-1851:
---------------------------------------

Well, the c3p0 driver only issues a warning in this case without raising an exception. The only way we could fix this would be by attempting to load the driver class ourselves before initializing the DriverManager.
                
> c3p0 and missing JDBC drivers 
> ------------------------------
>
>                 Key: ISPN-1851
>                 URL: https://issues.jboss.org/browse/ISPN-1851
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Thomas Fromm
>            Assignee: Manik Surtani
>             Fix For: 5.1.2.CR1, 5.1.2.FINAL
>
>
> Missing drivers can only be recognized when looking at the traces and see there a:
> 2012-02-07 18:08:30,714 [WARN] com.mchange.v2.c3p0.DriverManagerDataSource - Could not load driverClass oracle.jdbc.OracleDriver
> java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
> The caches are started but without working cache loaders.
> I would expect an exception during cache start.

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

        


More information about the infinispan-issues mailing list