【发布时间】:2011-05-28 04:43:24
【问题描述】:
我们有一个在 JBOSS 上与 Oracle 一起运行的 Java 应用程序。我们还使用框架 seam 和 hibernate。
当我们的应用程序启动并运行生产时,在应用程序启动几个小时后,我们遇到了这样的问题:
crms_log_27_may.txt:10:47:09,170 ERROR [STDERR] java.sql.SQLException: Exhausted Resultset
crms_log_27_may.txt:10:47:09,170 ERROR [STDERR] java.sql.SQLException: Exhausted Resultset
crms_log_27_may.txt:10:47:09,170 ERROR [STDERR] java.sql.SQLException: Exhausted Resultset
crms_log_27_may.txt:10:22:18,135 ERROR [STDERR] Caused by: java.sql.SQLException: Closed Connection
crms_log_27_may.txt:10:24:10,231 ERROR [STDERR] Caused by: java.sql.SQLException: Closed Connection
我检查了我所有的代码,发现我使用了rs.next()并正确关闭了对象。
【问题讨论】:
标签: java performance memory jboss sqlexception