JSP
网页应用程序开发
网页应用程序开发
9.1 需求描述
9.2 功能设计
9.3 数据库设计
博主 in 教程 08:22下午 11月 22, 2012
| Exception | Velocity template error : standard |
| Message | Invocation of method 'getCommentCount' in class org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper threw exception javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 54,517,631 milliseconds ago. The last packet sent successfully to the server was 54,517,631 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem. Error Code: 0 Call: SELECT id, content, contenttype, email, name, notify, plugins, posttime, referrer, remotehost, status, url, useragent, entryid FROM roller_comment WHERE ((entryid = ?) AND (status = ?)) ORDER BY posttime ASC bind => [2 parameters bound] Query: ReadAllQuery(referenceClass=WeblogEntryComment sql="SELECT id, content, contenttype, email, name, notify, plugins, posttime, referrer, remotehost, status, url, useragent, entryid FROM roller_comment WHERE ((entryid = ?) AND (status = ?)) ORDER BY posttime ASC") at fauxcoly:_day|standard[line 30, column 41] |
| Type | fauxcoly:Weblog |
| Exception | org.apache.velocity.exception.MethodInvocationException |