You probably didn't put the Jar file containing the ODBC driver where JRun could find it. Try putting it under <JRunRoot>/lib/ext. -----Original Message----- From: Vidyasagar Guduru [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 7:13 PM To: [EMAIL PROTECTED] Subject: MS access connection problem with a servlet in JRun Hi My application is running under JRUN3.0 Actually I want to create a pool of connections they will talk to MSAccess Database. But First of all I want to test the connection with the servlet I am using the simplest way to get the DriverManager and connection object Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn = DriverManager.getConnection("jdbc:odbc:DB", "uName", "pword"); The above code is working fine with a Stand alone program but when my servelet executes this code in its init() method I am getting the folloing exception. [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Any Ideas ? Thanks in advance Sagar. __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
