quality@glassfish.java.net

Strange error with Oracle JDBC drivers

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Thu, 11 Sep 2008 17:47:08 +0200

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

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"