org.hibernate.util.JDBCExceptionReporter# 关闭的连接(或者无法从套接字读取更多数据)
2013-04-08 09:24
651 查看
最近一个程序,老是在运行的时候,查询数据库的时候, 由tomcat 抛出这个异常,
org.hibernate.util.JDBCExceptionReporter # logException:关闭的连接。(或者无法从套接字读取更多数据)
遇到这样的情况的朋友们,先不要慌张,你只需重启下 tomcat 就好。 若是多次遇到这样的状况,说明你的程序 SQL语句 机制不够强大。
一般这个是由 hibernate 抛出的, 在hibernate中 配置c3p0,(1)session 连接数,(2)超时时间 ;应该可以解决此问题。
org.hibernate.util.JDBCExceptionReporter # logException:关闭的连接。(或者无法从套接字读取更多数据)
遇到这样的情况的朋友们,先不要慌张,你只需重启下 tomcat 就好。 若是多次遇到这样的状况,说明你的程序 SQL语句 机制不够强大。一般这个是由 hibernate 抛出的, 在hibernate中 配置c3p0,(1)session 连接数,(2)超时时间 ;应该可以解决此问题。
相关文章推荐
- Oracle ORA-3137[12333] 关闭的连接 java.sql.SQLRecoverableException: 无法从套接字读取更多的数据 _optim_peek_user_binds
- oracle clob ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: 数据类型不一致: 应为 -, 但却获得 CLOB
- ERROR org.hibernate.util.JDBCExceptionReporter:234 - 流已被关闭
- org.hibernate.util.JDBCExceptionReporterorg.hibern
- org.hibernate.util.JDBCExceptionReporter] ORA-02289: 序列不存在
- [org.hibernate.util.JDBCExceptionReporter]-[WARN] SQL Error: 8103, SQLState: 72000(未解决)
- [ERROR] [09:45:36] org.hibernate.util.JDBCExceptionReporter - 列名 'wewew' 无效。
- WARN org.hibernate.util.JDBCExceptionReporter:100 - SQL Error: 1146, SQLState: 42S02
- ERROR [org.hibernate.util.JDBCExceptionReporter]
- ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection ha
- hibernate JDBCExceptionReporter : SQL Error: 17008, SQLState: null 关闭的连接
- java.sql.SQLException: 无法从套接字读取更多的数据出现的原因
- 14629 [http-8080-1] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 1064, SQLState: 42000
- [org.hibernate.util.JDBCExceptionReporter] - ORA-01747: user.table.column, table.column 或列说明无效
- [org.hibernate.util.JDBCExceptionReporter] - Cannot load JDBC driver class 'net.
- crontab java -jar --------- java.sql.SQLRecoverableException: 无法从套接字读取更多的数据
- ERROR: org.hibernate.util.JDBCExceptionReporter - ORA-00904: "XXXX": invalid identifie
- 无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接
- java.sql.SQLException: 无法从套接字读取更多的数据(mybatis 插入时)
- ERROR JDBCExceptionReporter:234 - Table 'xxxxxxxx' doesn't exist hibernate无法自动创建表