type Exception report
message javax.servlet.ServletException: javax.servlet.jsp.JspException: java.sql.SQLException: The last packet successfully received from the server was 37,703,755 milliseconds ago. The last packet sent successfully to the server was 37,703,797 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. Query: select id,title,content,cat_id from wcm_cms_news where id=? Parameters: [7410]
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.sql.SQLException: The last packet successfully received from the server was 37,703,755 milliseconds ago. The last packet sent successfully to the server was 37,703,797 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. Query: select id,title,content,cat_id from wcm_cms_news where id=? Parameters: [7410] org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: java.sql.SQLException: The last packet successfully received from the server was 37,703,755 milliseconds ago. The last packet sent successfully to the server was 37,703,797 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. Query: select id,title,content,cat_id from wcm_cms_news where id=? Parameters: [7410] org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845) org.apache.jsp.news.industry_002ddetail_jsp._jspService(industry_002ddetail_jsp.java:525) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)
root cause
java.sql.SQLException: The last packet successfully received from the server was 37,703,755 milliseconds ago. The last packet sent successfully to the server was 37,703,797 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. Query: select id,title,content,cat_id from wcm_cms_news where id=? Parameters: [7410] org.apache.commons.dbutils.QueryRunner.rethrow(QueryRunner.java:542) org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:399) org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:372) com.jerei.website.utils.db.DBHelper.map(DBHelper.java:87) org.apache.jsp.tag.webcore.common.seo_tag.doTag(seo_tag.java:114) org.apache.jsp.news.industry_002ddetail_jsp._jspService(industry_002ddetail_jsp.java:92) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.54 logs.