dev@glassfish.java.net

Re: Informix jdbc connection pool on SJSAS 9.0

From: Lance J. Andersen <Lance.Andersen_at_Sun.COM>
Date: Thu, 14 Sep 2006 10:19:48 -0400

Hi Cheng,


com.informix.jdbc.ifXDriver probably implements just java.sql.Driver and
not javax.sql.DataSource.

What is the error that is occuring using com.informix.jdbx.IfXDataSource?

-lance

Cheng Fang wrote:
> Hi,
>
> This user is having trouble creating Informix jdbc connection pool on
> SJSAS 9.0, using admingui. He/she was using informix jdbc 3.0 from
> ibm web site, including ifxjdbc.jar and ifxlang.jar. When pinging the
> newly-created connection pool, he got this error:
>
> Operation 'pingConnectionPool' failed in 'resources' Config Mbean.
> Target exception message: com.informix.jdbc.IfxDriver cannot be cast
> to javax.sql.DataSource
>
> I already suggested using com.informix.jdbcx.IfxDataSource as
> datasource classname, copying jars to domain1/lib, restart server.
> But he said it still failed.
>
> Have anyone seen this type of error before? or any further suggestions?
>
> The forum post in Chinese:
> http://gceclub.sun.com.cn/NASApp/sme/jive/thread.jsp?forum=22&thread=40422
>
>