Amarakunthy Cox

Greenhorn
+ Follow
since Apr 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amarakunthy Cox

Nathaniel,
All the driver's *.jar files are set on the system environment variable. I have sat down and tried every place possible that I can think of and still the same problem.
Thanks for the suggestion though. Still hammering away ....
Amarakunthy
19 years ago

In the above code, once I execute it I get this error:
Exception Class =
java.lang.reflect.InvocationTargetException
Exception Stack =
java.lang.reflect.InvocationTargetException: javax.naming.NoInitialContextException: Cannot instantiate class: com.microsoft.jdbc.sqlserver.SQLServerDataSource. Root exception is java.lang.ClassNotFoundException: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
I am trying to use Websphere 4.0 connection pooling feature using Microsoft SQL Server drivers.
I've created the jndi/datasource and set the classpath using Websphere's interface; used Websphere's "Test Connection" feature and it has passed.
I've checked that the datasource file that the error is indicating is in the *.jar. I've also tried another test by adding the system environment variable to point to the *jars, but still getting the same error.
Any help would be appreciated.

(Code tags added by Michael Morris)
[ April 23, 2004: Message edited by: Michael Morris ]
19 years ago