We have a Servlet that uses a DB ConnectionPool object which creates
and manages DB Connections (using JDBC-ODBC to SQLServer).

In doGet, Servlet does a pool.getConnection(), gets the connection
and then passes the connection object to a data object we have.
This data object uses this connection object to talk to the DB and
do its job. When Servlet finishes processing the request,
it releases the connection.

Some of the problems we are experiencing:

- Servlet seems to create the connection OK. But, for some reason,
when the it gets to the point where it creates an instance of
the data object, it throws a java.lang.NoClassDefFoundError.

Interesting part is that this did not happen when the data obj
itself created the DB connection. We don't understand why that
would cause a NoClassDefFound error

- Often, the ConnectionPool, which is set to create only 2
connections, seems to quickly reach the maximum number of
connections we have configured SQLServer for. (We remember a
posting about this very same problem from another member a
few days ago in this forum).

Our env: JDK 1.2, JDBC-ODBC driver, JWS 2.0, SQLServer 6.5

Thanks in advance.

Rali Panchanatham

PS: Is there a separate JDBC-INTEREST group?

___________________________________________________________________________
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