I'm using Tomcat server, I started the tomcat server at yesterday morning it continuously runs till today morning, when i try to login in my application it shows org.hibernate.TransactionException: JDBC rollback failed exception, the following is the exception show
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.hibernate.TransactionException: JDBC rollback failed org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:204) dao.LoginDAO.getUser(LoginDAO.java:72) servlets.LoginServlet.doLogin(LoginServlet.java:400) servlets.LoginServlet.doPost(LoginServlet.java:83) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this state. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:888) com.mysql.jdbc.Connection.getMutex(Connection.java:3755) com.mysql.jdbc.Connection.rollback(Connection.java:5251) org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit(JDBCTransaction.java:217) org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:196) dao.LoginDAO.getUser(LoginDAO.java:72) servlets.LoginServlet.doLogin(LoginServlet.java:400) servlets.LoginServlet.doPost(LoginServlet.java:83) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. Apache Tomcat/6.0.18
please give any solution for this problem
thanks in advance......
regards, ram
|