The driver will be a class file, probably packaged in some sort of JAR, and it's possible it could use some native libraries, so I suppose it could depend on some DLLs.  That being said, all you have to worry about is whether or not the driver is installed correctly on your system (should there be any special installation instructions for your driver) and that the driver is within your classpath when you load the driver class.
 
With Jrun, open up the administrator program and select the 'General' tab. Then select the 'Java' tab (from the JTabbedPane that is within the JTabbedPane of which 'General' is a tab).  Add your driver's JAR file to the 'Java Classpath' input box.  We use JDataConnect, so the line with the JAR file added looks some like this:
 
C:/JRun/classes;C:/JRun/jsm-default/classes;C:/JRun/lib/jrun.jar;C:/JRun/lib/servlet.jar;C:/JRun/lib/jsp.jar;C:/JRun/lib/xml4j.jar;C:/JRun/lib/xt.jar;C:/JRun/lib/fesi.jar;C:/JRun/lib/NetComponents.jar;C:/JRun/lib/OROMatcher.jar;C:/JRun/lib/tools.jar;C:/JRun/instantdb/classes;C:/JRun/lib/jrunadmin/jrunadmin.jar;C:\JRun\jre/lib/classes.zip;C:\JRun\jre/lib/rt.jar;C:\JRun\jre/lib/i18n.jar;C:\JRun\jre/jre/lib/rt.jar;C:\JRun\jre/jre/lib/i18n.jar;C:\JRun\jre/lib/tools.jar;C:/JRun/lib/jrunadmin/swing.jar;C:/Program Files/JDataConnect/JARS/JData2_0.jar;
 
Hope that helps.
 
----- Original Message -----
Sent: Tuesday, May 09, 2000 12:09 PM
Subject: Driver for SQL Server at IIS on JRun

Hi Everyone. .
 
Which is the jar file which works as the driver file for connecting to MS-SQL Server from a servlet. . .
Is it a jar file or a DLL. . .??
 
Kindly help. .
 
My problem is When I try running servlet with JDBC statements in it on IIS with JRun the system reports an error saying
"Data source name not found and no default driver specified"
 
Now the DSN is set properly it is the problem with default driver. . .!! What do i need to do to tackle this problem. .??
 
waiting for ur response. .
 
thanx in advance,
 
regards
imtiaz
 
 
 
 
Keep the Faith.
 
Imtiaz Kalburgi
[EMAIL PROTECTED]
Comat Technologies Pvt. Ltd.,
INDIA

Reply via email to