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

    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 100,572,870 milliseconds ago. The last packet sent successfully to the server was 100,572,870 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 117, column 34]
    Type unidata:Weblog
    Exception org.apache.velocity.exception.MethodInvocationException