Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决
来源:互联网 发布:flash播放器mac版 编辑:程序博客网 时间:2024/04/28 08:06
出现Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 这个问题,查询问题发现可能是tomcat-dbcp连接池,看到别人的解决方式是:
解决:删除Tomcat下的项目。
主要是以下两个目录:
\Tomcat 6.0\webapps \Tomcat 6.0\work\Catalina\localhost
Tomcat里部署的项目越少越好。比如我一般要使用哪个项目就部署哪个,其他的都删除。这样一是提高Tomcat的启动速度,二是避免出现不必要的错误。
或者是给context.xml加入<Resource auth="Container"
driverClassName="com.mysql.jdbc.Driver"
maxActive="100"
maxIdle="30"
maxWait="10000"
name="jdbc/mysql"
password="root"
type="javax.sql.DataSource"
url="jdbc:mysql://localhost:3306/dome7?characterEncoding=UTF-8"
username="root"/>
就好,试试吧。
0 0
- Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决
- Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决
- Communications link failure due to underlying exception
- Communications link failure due to underlying exception
- Communications link failure due to underlying exception:
- 解决 Communications link failure due to underlying exception
- Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION **
- Communications link failure due to underlying exception的原因
- Communications link failure due to underlying exception(转载)
- 数据库连接失败Communications link failure due to underlying exception!
- Mysql报错!Communications link failure due to underlying exception
- MyEclipse中报错:Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- 解决MySQL连接超时Communications link failure due to underlying exception
- com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:的解决
- ListView条目焦点获取不到问题解决
- 16. Spring Boot使用Druid(编程注入)【从零开始学Spring Boot】
- 实现web数据同步的四种方式
- IOS学习之蓝牙4.0
- mysql 第五天
- Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决
- (4)HTML的全局事件属性
- PAT甲级.1001. A+B Format (20)
- 自定义UITableView每组头部控件
- ChartView QML 类型翻译
- Core_1_数据结构和函数
- unison+inotify实现web数据双向同步配置详解
- NodeMCU多串口通信(轮询)
- gradle多渠道打包