commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <>
Subject [jira] Commented: (DBCP-53) [dbcp] commons dbcp does not supports Firebird DB.
Date Thu, 19 Jul 2007 23:05:06 GMT


Dain Sundstrom commented on DBCP-53:

I don't think this is a DBCP issue.  My guess is your torque configuration is wrong, but I'm
not torque expert.  The org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS class has the
following method:

    public void setDriver(String v) throws ClassNotFoundException {
        this.driver = v;
        // make sure driver is registered

Which can fail for two reasons.  First, if any connections have already been allocated from
the data source, the assertInitializationAllowed method will throw and IllegalStateException
because the data source is already actively creating connections for a data base.  The second
place this method can fail is the call to Class.forName.  In either case, I don't think it
is a DBCP issue.

I think we should close this as invalid, and if Torque team find a bug in DBCP, they can open
a new issue.

> [dbcp] commons dbcp does not supports Firebird DB.
> --------------------------------------------------
>                 Key: DBCP-53
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: Bug
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: DMoL
>             Fix For: 1.3
> I'm trying to use Torque-3.2 with open-source Firebird DBMS, but simple example
> not works. Here is the log output:
> 15.03.2006 21:47:38 org.apache.torque.dsfactory.AbstractDataSourceFactory
> setProperty
> SEVERE: Property: driver value: org.firebirdsql.jdbc.FBDriver is not supported
> by DataSource: org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message