Subject | Firebird DataSource connection problem |
---|---|
Author | Rupert Young (Restart) |
Post date | 2007-08-02T12:48:37Z |
I am trying to interface with firebird from the SUN JavaCAPS product through
its JDBC adaptor.
There are two configuration settings of relevance
ClassName, which is typically the datasource/pool class, and
ClassNameforOtherInterfaces, which is the driver class
So I have entered,
ClassName org.firebirdsql.jdbc.FBWrappingDataSource
ClassNameforOtherIbterfaces org.firebirdsql.jdbc.FBDriver
However, I get this runtime error
java.lang.ClassCastException: org.firebirdsql.jdbc.FBWrappingDataSource
...
javax.resource.spi.ResourceAllocationException: Error in allocating a
connection. Cause: org.firebirdsql.jdbc.FBWrappingDataSource
Any suggestions of how to resolve this?
Regards,
Rupert
its JDBC adaptor.
There are two configuration settings of relevance
ClassName, which is typically the datasource/pool class, and
ClassNameforOtherInterfaces, which is the driver class
So I have entered,
ClassName org.firebirdsql.jdbc.FBWrappingDataSource
ClassNameforOtherIbterfaces org.firebirdsql.jdbc.FBDriver
However, I get this runtime error
java.lang.ClassCastException: org.firebirdsql.jdbc.FBWrappingDataSource
...
javax.resource.spi.ResourceAllocationException: Error in allocating a
connection. Cause: org.firebirdsql.jdbc.FBWrappingDataSource
Any suggestions of how to resolve this?
Regards,
Rupert