问题描述
2014-8-110:29:49org.apache.catalina.core.AprLifecycleListenerinit信息:TheAPRbasedApacheTomcatNativelibrarywhichallowsoptimalperformanceinproductionenvironmentswasnotfoundonthejava.library.path:D:GenuitecCommonbinarycom.sun.java.jdk.win32.x86_1.6.0.013bin;D:apache-tomcat-7.0.11bin2014-8-110:29:49org.apache.coyote.AbstractProtocolHandlerinit信息:InitializingProtocolHandler["http-bio-8080"]2014-8-110:29:49org.apache.coyote.AbstractProtocolHandlerinit信息:InitializingProtocolHandler["ajp-bio-8009"]2014-8-110:29:49org.apache.catalina.startup.Catalinaload信息:Initializationprocessedin340ms2014-8-110:29:49org.apache.catalina.core.StandardServicestartInternal信息:StartingserviceCatalina2014-8-110:29:49org.apache.catalina.core.StandardEnginestartInternal信息:StartingServletEngine:ApacheTomcat/7.0.112014-8-110:29:49org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectorydocs2014-8-110:29:49org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectoryexamples2014-8-110:29:49org.apache.catalina.core.ApplicationContextlog信息:ContextListener:contextInitialized()2014-8-110:29:49org.apache.catalina.core.ApplicationContextlog信息:SessionListener:contextInitialized()2014-8-110:29:49org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectoryhost-manager2014-8-110:29:49org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectorymanager2014-8-110:29:49org.apache.catalina.startup.HostConfigdeployDirectory信息:DeployingwebapplicationdirectoryROOT2014-8-110:29:49org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectoryruanmeng2014-8-110:29:50org.apache.catalina.core.ApplicationContextlog信息:InitializingSpringrootWebApplicationContextERROR2014-08-0110:29:52,275org.hibernate.util.JDBCExceptionReporter:CannotcreatePoolableConnectionFactory(CommunicationslinkfailureThelastpacketsentsuccessfullytotheserverwas0millisecondsago.Thedriverhasnotreceivedanypacketsfromtheserver.)2014-8-110:29:53org.apache.coyote.AbstractProtocolHandlerstart信息:StartingProtocolHandler["http-bio-8080"]2014-8-110:29:53org.apache.coyote.AbstractProtocolHandlerstart信息:StartingProtocolHandler["ajp-bio-8009"]2014-8-110:29:53org.apache.catalina.startup.Catalinastart信息:Serverstartupin4348ms
解决方案
解决方案二:
是不是网络有问题
解决方案三:
数据库没启动?连不上?
解决方案四:
网络问题,或者数据库挂了
解决方案五:
进程有无javaw.exe关了再试
解决方案六:
先确认一下网络问题和数据库是否正常
解决方案七:
连接池的错误日志级别要调低点,比如到Debug级别,这个信息量太少了。