Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 15375 invoked from network); 11 Nov 2010 20:54:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 20:54:10 -0000 Received: (qmail 74142 invoked by uid 500); 11 Nov 2010 20:54:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 74083 invoked by uid 500); 11 Nov 2010 20:54:40 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 74076 invoked by uid 99); 11 Nov 2010 20:54:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 20:54:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 20:54:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oABKsFT1024454 for ; Thu, 11 Nov 2010 20:54:15 GMT Message-ID: <19245707.34591289508855343.JavaMail.jira@thor> Date: Thu, 11 Nov 2010 15:54:15 -0500 (EST) From: "Fuad Efendi (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-2233) DataImportHandler - JdbcDataSource is not thread safe In-Reply-To: <918792.29101289494154738.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fuad Efendi updated SOLR-2233: ------------------------------ Attachment: SOLR-2233-JdbcDataSource.patch {{resultSet.next()}} - Microsoft JDBC doesn't support isLast() for FORWARD_ONLY > DataImportHandler - JdbcDataSource is not thread safe > ----------------------------------------------------- > > Key: SOLR-2233 > URL: https://issues.apache.org/jira/browse/SOLR-2233 > Project: Solr > Issue Type: Bug > Affects Versions: 1.5 > Reporter: Fuad Efendi > Attachments: FE-patch.txt, SOLR-2233-JdbcDataSource.patch, SOLR-2233-JdbcDataSource.patch > > > Whenever Thread A spends more than 10 seconds on a Connection (by retrieving records in a batch), Thread B will close connection. > Related exceptions happen when we use "threads=" attribute for entity; usually exception stack contains message "connection already closed" > It shouldn't happen with some JNDI data source, where Connection.close() simply returns Connection to a pool of available connections, but we might get different errors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org