Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决...

环境:MyEclipse6.5 + Tomcat6.0.18+Struts2.1+Hibernate3.2+Spring2.5.6

问题:启动Tomcat出现如下异常:

ERROR JDBCExceptionReporter:101 - Cannot createPoolableConnectionFactory (Communications link failure due to underlyingexception:

解决:删除Tomcat下的项目。

主要是以下两个目录:


X:\Program files\Tomcat 6.0\webapps
X:\Program files\Tomcat 6.0\work\Catalina\localhost


Tomcat里部署的项目越少越好。比如我一般要使用哪个项目就部署哪个,其他的都删除。这样一是提高Tomcat的启动速度,二是避免出现不必要的错误。



你可能感兴趣的:(Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception 解决...)