Velocity Template Error

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.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLTransientConnectionException: HikariPool-5 - Connection is not available, request timed out after 30000ms (total=0, active=0, idle=0, waiting=6)
Error Code: 90020
Call: SELECT id, action, description, hidden, updatetime, link, name, navbar, outputtype, websiteid FROM weblog_custom_template WHERE ((websiteid = ?) AND (action = ?))
bind => [2 parameters bound]
Query: ReadAllQuery(name="WeblogTemplate.getByAction" referenceClass=WeblogTemplate sql="SELECT id, action, description, hidden, updatetime, link, name, navbar, outputtype, websiteid FROM weblog_custom_template WHERE ((websiteid = ?) AND (action = ?))") at weblog.vm[line 69, column 29]
Type gaurav:Weblog
Exception org.apache.velocity.exception.MethodInvocationException