Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A3CA9C93 for ; Fri, 24 Feb 2012 01:22:10 +0000 (UTC) Received: (qmail 46476 invoked by uid 500); 24 Feb 2012 01:22:09 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 46451 invoked by uid 500); 24 Feb 2012 01:22:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 46443 invoked by uid 99); 24 Feb 2012 01:22:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 01:22:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 01:22:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D97AC337774 for ; Fri, 24 Feb 2012 01:21:48 +0000 (UTC) Date: Fri, 24 Feb 2012 01:21:48 +0000 (UTC) From: "Mamta A. Satoor (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <763657511.13062.1330046508892.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <318644952.19263.1324038630558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5545) Exception ResultSet not open. Operation 'next' not permitted. Verify that autocommit is OFF exception occuring on rs.next() after long run. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mamta A. Satoor updated DERBY-5545: ----------------------------------- Component/s: (was: SQL) JDBC Urgency: Normal Labels: derby_triage10_9 (was: ) > Exception ResultSet not open. Operation 'next' not permitted. Verify that autocommit is OFF exception occuring on rs.next() after long run. > -------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5545 > URL: https://issues.apache.org/jira/browse/DERBY-5545 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.8.2.2 > Environment: OSX 10.6 > Reporter: Paul taylor > Labels: derby_triage10_9 > > Im seeing this error occur after loading alot of data into the Database. I can confirm that autocommit is set to off, and that it occurs on calling rs.next() immediatlely after running a query and assigning to resultset rs. The cdoe is called many times (250,000) and usually works, then suddenly it starts going wrong, I also using c3po database pooling. Im wondering if the problem is linked to memory consumption although I have no OutOfMemoryError occurring > > Java.sql.SQLException: ResultSet not open. Operation 'next' not permitted. Verify that autocommit is OFF. > at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.ConnectionChild.newSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedResultSet.checkIfClosed(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedResultSet.checkExecIfClosed(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedResultSet.next(Unknown Source) > at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2859) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira