aspose file tools
The moose likes Servlets and the fly likes database connection issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "database connection issue" Watch "database connection issue" New topic

database connection issue

Jeff Sunder
Ranch Hand

Joined: Jun 26, 2001
Posts: 47
I am trying to connect to a database through a servlet. I am getting the following error message:
Error: 500
Location: /servlet/ProjectRequestProcessingInternal Servlet Error:java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection
at ConnectionPool.returnConnection(
at ProjectRequestProcessing.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
I am not sure what the problem is, primarily because I don't know where the error is occuring. I have a servlet called ProjectRequestProcessing and a helper class called ConnectionPool. But I am not quite sure what the where the problem is occuring. Can any shed some light on this?
Thanks in advance
[This message has been edited by Jeff Sunder (edited July 09, 2001).]
subject: database connection issue