db.DbTransaction getConnection:null
java.sql.SQLException: Transient error, please try again.
at
com.google.appengine.api.rdbms.RdbmsApiProxyClient$ApiProxyBlockingInterface.makeSyncCall(RdbmsApiProxyClient.java:108)
at com.google.appengine.api.rdbms.RdbmsApiProxyClient$ApiProxyBlockingInterface.openConnection(RdbmsApiProxyClient.java:71)
at com.google.cloud.sql.jdbc.internal.SqlProtoClient.openConnection(SqlProtoClient.java:58)
at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:66)
at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:26)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:222)
at db.DbTransaction.getConnection(DbTransaction.java:44)
当我重新启动Google Cloud SQL实例时,它已解决。它背后的原因是什么,我该如何解决它。我在这个应用程序中使用了基于servlet的连接池。异常原因是否与连接池有关,或者与 App Engine实例有关的任何问题都不能与Google Cloud SQL有超过30个并发连接,因此泄漏最终会导致新连接失败 (https://developers.google.com/appengine/docs/java/cloud-sql/)。