News@Unidata
News and information from the Unidata Program Center
News@Unidata
News and information from the Unidata Program Center

Welcome

FAQs

Developers’ blog

Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
  • feed Community (448)
Browse by Topic
  • feed All
  • feed Community (448)
  • feed Jobs (181)
  • feed Unidata (

    Velocity Template Error

    • Unexpected Exception
    • Roller has encountered and logged an unexpected exception.
    Exception Velocity template error : standard
    Message Invocation of method 'retrieveWeblogEntries' in class org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryWrapper threw exception javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.5.v20191016-ea124dd158): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 114,045,507 milliseconds ago. The last packet sent successfully to the server was 114,045,508 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, description, image, name, position, websiteid FROM weblogcategory WHERE ((websiteid = ?) AND (name = ?))
    bind => [2 parameters bound]
    Query: ReadAllQuery(name="WeblogCategory.getByWeblog&Name" referenceClass=WeblogCategory sql="SELECT id, description, image, name, position, websiteid FROM weblogcategory WHERE ((websiteid = ?) AND (name = ?))") at roller-custom.vm[line 284, column 21]
    Type unidata:Weblog
    Exception org.apache.velocity.exception.MethodInvocationException