该用户从未签到
|
本帖最后由 安德烈 于 2017-5-3 12:07 编辑 # k# F# Y, k! c1 H- [' i' [- |9 [
' G, M; x% k& S" pHTTP Status 500 - type Exception report
+ H/ h% e7 H4 `message
, t' n6 s/ \# u j: v8 g- X$ l( Xdescription The server encountered an internal error () that prevented it from fulfilling this request.% h2 z y" p0 ?3 x0 k
exception U! R. _) J) _/ o6 [. ?; Y/ S
javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Cannot open connection cn.lee.market.filter.HibernateFilter.doFilter(HibernateFilter.java:50)6 x+ M2 Z. ^# ?& z
root cause * l; P$ W1 \6 g4 r4 B1 r* h) K
org.hibernate.exception.GenericJDBCException: Cannot open connection org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420) org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:118) org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1319) cn.lee.market.filter.HibernateFilter.doFilter(HibernateFilter.java:33)
, W4 l4 t+ |+ {9 q0 n! I0 Nroot cause 1 M0 I2 @6 g. e$ T( L: u8 O6 n6 b5 |
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910) com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923) com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273) com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2031) com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718) com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) com.mysql.jdbc.Util.handleNewInstance(Util.java:406) com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302) com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282) java.sql.DriverManager.getConnection(DriverManager.java:582) java.sql.DriverManager.getConnection(DriverManager.java:154) org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110) org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417) org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:118) org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1319) cn.lee.market.filter.HibernateFilter.doFilter(HibernateFilter.java:33)
2 ^, [. J% C2 n+ U) mnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.1 h7 Y. [# m2 _% R$ Y4 X6 a3 e. Q* F
Apache Tomcat/6.0.13
. t }( Z3 s- G6 r |
|