开发者社区 问答 正文

ecs上部署tomcat连接不上rds

13-Feb-2017 13:46:07.573 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application 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.
13-Feb-2017 13:46:07.573 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application  registered the JDBC driver [com.mysql.cj.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
13-Feb-2017 13:46:07.574 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

展开
收起
九九互联 2017-02-13 14:13:04 3082 分享 版权
1 条回答
写回答
取消 提交回答
  • 旺旺:nectar2。
    楼主您好,

    欢迎来到阿里云论坛。

    请问,您能通过mysql的客户端管理工具,如 heidisql 成功连接到RDS云数据库吗?

    如果能,那么可能需要重点检查一下您的java项目配置了。

    请问您的ECS的配置是怎么样的,有多少内存?

    从您提供的错误信息来看,提到过很多次“memory leak”,是否可能因为内存使用相关的问题呢?
    2017-02-14 08:50:48
    赞同 展开评论