You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2007/07/20 01:05:06 UTC
[jira] Commented: (DBCP-53) [dbcp] commons dbcp does not supports
Firebird DB.
[ https://issues.apache.org/jira/browse/DBCP-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514039 ]
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 {
assertInitializationAllowed();
this.driver = v;
// make sure driver is registered
Class.forName(v);
}
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: https://issues.apache.org/jira/browse/DBCP-53
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org