To find out if your database connection is working, ping the data source.
In the Management Console, select the data source, right-click, and select Ping.
If the server does not respond or an error occurs, verify that:
The CLASSPATH and BOOTCLASSPATH specify the correct locations for the providerutil.jar, jconn2.jar (the jConnect driver), and jndi.jar (JNDI 1.2)
You are using JDK 1.4 or JDK 1.5.