HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC commit failed
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)root cause org.springframework.transaction.TransactionSystemException: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC commit failed
org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:582)root cause org.hibernate.TransactionException: JDBC commit failed
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:130)
org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit.aop.interceptor..chainroot 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)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.
--------------------------------------------------------------------------------Apache Tomcat/5.5.25
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)root cause org.springframework.transaction.TransactionSystemException: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC commit failed
org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:582)root cause org.hibernate.TransactionException: JDBC commit failed
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:130)
org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit.aop.interceptor..chainroot 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)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.
--------------------------------------------------------------------------------Apache Tomcat/5.5.25
解决方案 »
- 【请教】Struts2交给Spring管理后 出现的问题
- 在Myesclipe中启动tomact出现错误
- 如何利用jQuery获取checkbox选中行的记录的某一属性值?
- 这个XML怎么用xstream转换成Java对象?????
- 请高手给指路
- ActionErrors下的add方法过时了吗
- MyEclipse debug时间过长为什么会卡死?
- 使用httpClient发送请求到服务器,提示“请求次数过多”
- 用jbuilder做的东西为什么弹出的对话框中的中文是乱码??
- 获取自定义周的第一天日期
- 求助:struts2的类型转换和输入较验问题
- hibernate 效率问题 每次打开session会扫描全部表,耗时不少
看样子你是在你的connection close以后进行了transaction的commit操作