type Exception report
message Servlet execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.OutOfMemoryError: Java heap space com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:1601) com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1425) com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2923) com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:479) com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2618) com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1787) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2208) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281) com.mysql.jdbc.CallableStatement.executeQuery(CallableStatement.java:943) org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) dao.Dao.listAllPersons(Dao.java:148) servlet.Main.doGet(Main.java:44) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.43 logs.