tomcat站点启动失败-创新互联

首先检查:catalina.[date].log

创新互联服务项目包括永靖网站建设、永靖网站制作、永靖网页制作以及永靖网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,永靖网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到永靖省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!

错误信息:

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

四月 09, 2018 8:16:33 上午 org.apache.catalina.core.StandardContext startInternal

严重: One or more listeners failed to start. Full details will be found in the appropriate container log file

四月 09, 2018 8:16:33 上午 org.apache.catalina.core.StandardContext startInternal

严重: Context [/xxx] startup failed due to previous errors

四月 09, 2018 8:16:34 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc

严重: The web application [/heychain] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

四月 09, 2018 8:16:34 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc

到具体站点的log目录中,找到当前的log文件,发现错误信息:

2018-04-09 08:16:33,788 [localhost-startStop-1] ERROR [com.alibaba.druid.pool.DruidDataSource] - init datasource error, url: jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=utf-8&useSSL=false
java.sql.SQLException: Access denied for user 'xxx'@'localhost' (using password: YES)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:926)
	at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1748)
	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1288)
	at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2506)
	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539)
	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321)

很明显了:用户没有权限访问数据库

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


本文题目:tomcat站点启动失败-创新互联
网页URL:http://pwwzsj.com/article/cescji.html