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
解决方案 »
- 求助关于struts零配置和spring整合的问题
- 急……项目发布后java写的打印功能失效了---求解
- 请问Websphere和Weblogic是用什么语言开发的,是Java吧???
- Spring Security 中如何记录用户登录时间和IP?
- 菜鸟再次提问:关于J2EE
- java查询数据库所有表的问题,请各位大大进来帮帮忙
- 哪里有不错的支持Struts/Spring/Hibernate框架的Java虚拟主机?
- 孙鑫VC视频(完整共20课)换孙鑫java视频(完整)
- 高分求助,使用Jbuilder9生成一个返回数据集的web service的时候碰到一个问题!
- 用sax解析xml的问题
- 求助:struts2的类型转换和输入较验问题
- hibernate 效率问题 每次打开session会扫描全部表,耗时不少
看样子你是在你的connection close以后进行了transaction的commit操作