Cannot create PoolableConnectionFactory。创建连接池异常
2015-04-01 20:41
375 查看
错误信息:Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connecti
分析错误原因:如果所有配置参数无误,问题可能出在tomcat/conf/context.xml配置信息,可能是由于插网线或者连上无线改变了本机的IP,导致该配置文件下的url信息匹配不上。
解决方案:打开tomcat/conf/context.xml,找到<Context>节点下面的url,将@后面的IP改为主机名(主机名可右键计算机-属性看到),这样就可以避免每次IP改变还要去改配置信息
分析错误原因:如果所有配置参数无误,问题可能出在tomcat/conf/context.xml配置信息,可能是由于插网线或者连上无线改变了本机的IP,导致该配置文件下的url信息匹配不上。
解决方案:打开tomcat/conf/context.xml,找到<Context>节点下面的url,将@后面的IP改为主机名(主机名可右键计算机-属性看到),这样就可以避免每次IP改变还要去改配置信息
相关文章推荐
- 使用Oracle连接池错误 Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connection )的解决方法
- tomcat 运行异常Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 联接失败)(用户sa登录失败)
- Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connectio
- Oracle连接错误Cannot create PoolableConnectionFactory (Io 异常: Bad packet type)
- Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connec
- Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connect
- mysql 创建连接是 Cannot create PoolableConnectionFactory (Unknown character set: 'utf8mb4')
- Cannot create PoolableConnectionFactory。创建连接池异常
- tomcat 运行异常Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 联接失败)(用户sa登录失败)
- SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.)
- org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another p
- Cannot create PoolableConnectionFactory
- tomcat 运行时出现Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 连接失败...
- 数据库连接失败Cannot create PoolableConnectionFactory (Communications link failure
- 值得纪念的错误:org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory
- org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refus
- Cannot create PoolableConnectionFactory
- Cannot create PoolableConnectionFactory
- Cannot create PoolableConnectionFactory ([Microsoft][SQLServer 2000 Driver for JDBC]Error establishi
- tomcat 运行时出现Cannot create PoolableConnectionFactory (