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 ]