tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sarah Zou <>
Subject PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?
Date Wed, 03 Dec 2003 20:09:28 GMT
Hi All,
   I am using Tomcat 4.1.29 and DB2 8.1.  I try to use the servlet 
below to see if it can find DB2 jdbc driver:
public class Test extends HttpServlet {

public void init(ServletConfig config) throws ServletException
{ super.init(config); }

public void service(HttpServletRequest request, HttpServletResponse 
       Class.forName ("").newInstance ();
   } catch (Exception e) {
    System.err.println ("\n  Error loading DB2 Driver...\n" + e);

I have tried to put in Tomcat common\lib or 
webapp\web-inf\lib.  Also I tried to add  to "set classpath" in 
catalina.bat in Tomcat bin.   It didnot work. 
Your help will be very much appreciated.


Do you Yahoo!?
Free Pop-Up Blocker - Get it now
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message