Topic: mysql数据库用普通连接可以,但是用连接池九报错

  Print this page

1.mysql数据库用普通连接可以,但是用连接池九报错 Copy to clipboard
Posted by: oath911
Posted on: 2005-08-27 14:40

org.apache.commons.dbcp.SQLNestedException:
Cannot load JDBC driver class 'java:comp/env/jdbc/mysql'

?????????

2.Re:mysql数据库用普通连接可以,但是用连接池九报错 [Re: oath911] Copy to clipboard
Posted by: zcjl
Posted on: 2005-09-06 23:50

如果是tomcat的话,请把jdbc驱动放到tomcat/common/lib下
其他的AppServer也放到类似的目录下
这是因为初始化JNDI的链接池是通过AppServer(tomcat etc.)的ClassLoader

3.Re:mysql数据库用普通连接可以,但是用连接池九报错 [Re: oath911] Copy to clipboard
Posted by: why
Posted on: 2005-09-07 00:50

What does 连接池报错 mean?
就报错??


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923