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

Reply via email to