type Exception report
message Communications link failure
description The server encountered an internal error that prevented it from fulfilling this request.
exception
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:526) com.mysql.jdbc.Util.handleNewInstance(Util.java:406) com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074) com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009) com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438) com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477) com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1422) org.apache.jsp.ricerca_jsp._jspService(ricerca_jsp.java:267) 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.intercom.gzipfilter.GZIPFilter.doFilter(GZIPFilter.java:22) com.intercom.web.formauthenticator.AutomaticLoggerFilter.doFilter(AutomaticLoggerFilter.java:142)
root cause
java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2455) com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2906) com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438) com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477) com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1422) org.apache.jsp.ricerca_jsp._jspService(ricerca_jsp.java:267) 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.intercom.gzipfilter.GZIPFilter.doFilter(GZIPFilter.java:22) com.intercom.web.formauthenticator.AutomaticLoggerFilter.doFilter(AutomaticLoggerFilter.java:142)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.54 logs.