type Exception report
message javax.servlet.ServletException: javax.servlet.jsp.JspException: java.sql.SQLException: The last packet successfully received from the server was 96,023,293 milliseconds ago. The last packet sent successfully to the server was 96,023,295 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 cat_id from wcm_common_channel_news_channel where channel_id=? Parameters: [22482]
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 96,023,293 milliseconds ago. The last packet sent successfully to the server was 96,023,295 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 cat_id from wcm_common_channel_news_channel where channel_id=? Parameters: [22482] 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 96,023,293 milliseconds ago. The last packet sent successfully to the server was 96,023,295 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 cat_id from wcm_common_channel_news_channel where channel_id=? Parameters: [22482] org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845) org.apache.jsp.news.news_002ddetail_jsp._jspService(news_002ddetail_jsp.java:177) 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 96,023,293 milliseconds ago. The last packet sent successfully to the server was 96,023,295 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 cat_id from wcm_common_channel_news_channel where channel_id=? Parameters: [22482] 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:90) org.apache.jsp.tag.webcore.wcm_005fcms_005fnews.新闻详细_tag.doTag(新闻详细_tag.java:107) org.apache.jsp.news.news_002ddetail_jsp._jspService(news_002ddetail_jsp.java:116) 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.