HTTP Status 500 - javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
type Exception report
message javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)filter.filter.doFilter(filter.java:26)
root cause
javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)org.apache.jsp.xianshi_jsp._jspService(xianshi_jsp.java:130)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)filter.filter.doFilter(filter.java:26)
root cause
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1056)com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:894)com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3808)com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1256)com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2032)com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:729)com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298)com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283)java.sql.DriverManager.getConnection(Unknown Source)java.sql.DriverManager.getConnection(Unknown Source)DAO.DAO.getConnection(DAO.java:17)DAO.DAO.getAllXin(DAO.java:41)org.apache.jsp.xianshi_jsp._jspService(xianshi_jsp.java:101)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)filter.filter.doFilter(filter.java:26)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.
type Exception report
message javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)filter.filter.doFilter(filter.java:26)
root cause
javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)org.apache.jsp.xianshi_jsp._jspService(xianshi_jsp.java:130)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)filter.filter.doFilter(filter.java:26)
root cause
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1056)com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:894)com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3808)com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1256)com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2032)com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:729)com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298)com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283)java.sql.DriverManager.getConnection(Unknown Source)java.sql.DriverManager.getConnection(Unknown Source)DAO.DAO.getConnection(DAO.java:17)DAO.DAO.getAllXin(DAO.java:41)org.apache.jsp.xianshi_jsp._jspService(xianshi_jsp.java:101)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)filter.filter.doFilter(filter.java:26)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.