quality@glassfish.java.net

Re: Strange error with Oracle JDBC drivers

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 11 Sep 2008 09:21:39 -0700

Hi Wouter,

You are using b23, right.

It is a good way to try both CLI and Admin GUI way to narrow down the
issues :-)

Thanks,
Judy
Wouter van Reeven wrote:

>Hi,
>
>
>I guess I found another bug. Can someone explain this:
>
>$ ./bin/asadmin list-jdbc-connection-pools
>astro_pool
>__TimerPool
>DerbyPool
>
>$ ./bin/asadmin ping-connection-pool astro_pool
>remote failure: Ping JDBC Connection Pool for astro_pool is Failed.
>javax.resource.ResourceException: Class name is wrong or classpath is not set
>for : oracle.jdbc.pool.OracleDataSource
>Command ping-connection-pool failed.
>
>Now I install the Admin GUI and try again. Same error. Then I go to the Admin
>GUI and go to JDBC -> Resources -> Connection Pools, open the astro_pool pool
>and click Ping. I get Ping Succeeded. Next I try the CLI again et voilá:
>
>$ ./bin/asadmin ping-connection-pool astro_pool
>
>Command ping-connection-pool executed successfully.
>
>
>Greets, Wouter
>
>
>