今天我设法用 Scalr.net 重新创建了农场,显然在几次重新启动 tomcat 并修复问题后,我再次收到此错误。问题是我在整个服务器上使用全新安装的 MySQL,包括 Java 6.1_24、Tomcat 5.5.33、Sakai 2.7.1。我一直遇到的问题是用户被拒绝,因为我在 MySQL 实例中有这个用户,以及使用 sakai@% 对其进行完全远程访问,甚至在这篇文章大约一个小时前工作时这也不起作用被制作了。
... Continued from above log, everything before logs just fine
2011-03-31 18:31:14,120 WARN main org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy - Could not retrieve default auto-commit and transaction isolation settings
org.apache.commons.dbcp.SQLNestedException: Error preloading the connection pool
... continued over 400+ lines...
这是关于访问被拒绝错误的另一个错误...
2011-03-31 18:31:16,854 WARN main org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata
java.sql.SQLException: Access denied for user 'sakai'@'ec2-50-17-184-70.compute-1.amazonaws.com' (using password: YES)
.... continued....
我现在每次启动时都会收到此错误,这是全新安装的 tomcat/sakai
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: ec2-72-44-56-167.compute-1.amazonaws.com: ec2-72-44-56-167.compute-1.amazonaws.com
java.net.UnknownHostException: ec2-72-44-56-167.compute-1.amazonaws.com: ec2-72-44-56-167.compute-1.amazonaws.com
(这个最近的错误(本地主机)只是通过重新启动亚马逊aws实例来修复。谢天谢地)虽然即使重新安装我也会遇到同样的错误......几乎就像信息正在从缓存中刷新......或者某物