肯定是装了。安装完jdbc的测试页运行的没有问题!!

解决方案 »

  1.   

    www.chinajavaworld.com
    tomcat版块有一篇类似的文章,去瞧瞧吧。只不过数据库是mysql大同小异
      

  2.   

    还有一个问题。目前。我配置完成之后。
    DataSource ds = null; 
       try{ 
         Context initCtx = new InitialContext(); 
         Context envCtx = (Context) initCtx.lookup("java:comp/env"); 
        //从Context中lookup数据源。
         ds = (DataSource)envCtx.lookup("jdbc/bn"); 
    if(ds!=null) 
             out.println("已经获得DataSource!"); 
             ............
    到这里没有问题。页面可以输出 已经获得DataSource。
             Connection conn = ds.getConnection();
    Statement stmt=conn.createStatement();
             .............
    当建立连接是出现错误!
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' 我向应该是server.xml中的问题。
    但是不知该如何解决。不知各位遇到没有。