在把artimus_1_0.war放到Tomcat上,启动Tomcat后,进入应用,报如下错:The process did not complete. Details should follow. ResourceException: A required resource is not available. Caused by: SQLException occurred in JDBCPool: java.sql.SQLException: Data source rejected establishment of connection, message from server: "Too many connections" params: org.gjt.mm.mysql.Driver, jdbc:mysql://localhost:3306/artimus. Please check your username, password and other connectivity info看了数据库用户和密码都没问题,很奇怪!

解决方案 »

  1.   

    驱动版本  和你写的driver有出入?  
      

  2.   

    mysql-connector-java-3.0.9-stable-bin.jar和mysql-connector-java-3.0.9-stable-bin.jar都放到D:\Downloads\apache-tomcat-7.0.6\lib下了
      

  3.   

    问题找到了.poolman.xml放到D:\Downloads\apache-tomcat-7.0.6\webapps\artimus_1_0\WEB-INF\classes下好了,原来的位置在D:\Downloads\apache-tomcat-7.0.6\webapps\artimus_1_0\WEB-INF\classes,有知道原因的吗?官方的支持论坛讲的.http://www.manning-sandbox.com/thread.jspa?threadID=8182&tstart=285