Servlet, java.sql and NoClassDefFoundError with com/microsoft/jdbc/sqlserver/SQLServerDriver

Hi,I am trying to get our server (which has working servlets btw) to connect to MS SQL. It works in a standalone java application outside the servlet ON ANOTHER MACHINE. However, when I wrap it as a servlet and try to run it on the server I get:

java.lang.NoClassDefFoundError:

com/microsoft/jdbc/sqlserver/SQLServerDriver:

com/microsoft/jdbc/sqlserver/SQLServerDriver:

I’ve tried copying msutil.jar, mssqlserver.jar and msbase.jar to the servlet directory (under domino) and changed the classpath to point to these files, but to no avail.

Can anybody shed any light on this ?

Thanks

Subject: Servlet, java.sql and NoClassDefFoundError with com/microsoft/jdbc/sqlserver/SQLServerDriver

Figured it out…

JavaUserClasses variable in NOTES.INI

Even with the classpath setting, it wasn’t working until I restarted domino with the same line in this variable

Subject: RE: Servlet, java.sql and NoClassDefFoundError with com/microsoft/jdbc/sqlserver/SQLServerDriver

Just to let you know bro : you helped me…

Tnx for posting the solution…