From The Erbo Files

Velocity Template Error

  • Unexpected Exception
  • Roller has encountered and logged an unexpected exception.
Exception Velocity template error : standard
Message Invocation of method 'getTemplateByName' in class org.apache.roller.weblogger.pojos.wrapper.WeblogWrapper threw exception javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 59,402,876 milliseconds ago. The last packet sent successfully to the server was 59,402,877 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, action, description, hidden, updatetime, link, name, navbar, outputtype, websiteid FROM weblog_custom_template WHERE ((websiteid = ?) AND (name = ?))
bind => [2 parameters bound]
Query: ReadAllQuery(name="WeblogTemplate.getByWeblog&Name" referenceClass=WeblogTemplate sql="SELECT id, action, description, hidden, updatetime, link, name, navbar, outputtype, websiteid FROM weblog_custom_template WHERE ((websiteid = ?) AND (name = ?))") at weblog.vm[line 69, column 29]
Type 72db47c9-b5be-498e-969d-7caa9bae1e5e
Exception org.apache.velocity.exception.MethodInvocationException