ODBC « Database « JSP-Servlet Q&A





1. Cannot connect to MS Access database in Tomcat    stackoverflow.com

I am having problems connecting to an MS Access database through a servlet in Tomcat. It was working before but it isn't anymore and I am quite confused. My servlet code: ...

3. please, help me to solve sun.jdbc.odbc.JdbcOdbcDriver cannot be cast to javax.sql.DataSource    coderanch.com

The bridge driver is positively buggy (and not thread-safe). It's possible that a different app server uses it in a different manner and thus doesn't expose its problems as quickly, but if you search around the net you'll find many problem reports. Googling for "jtds" will get you to its home page, which has extensive documentation available.