Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 16846 invoked from network); 24 Jun 2009 23:08:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 23:08:19 -0000 Received: (qmail 86113 invoked by uid 500); 24 Jun 2009 23:08:29 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 86030 invoked by uid 500); 24 Jun 2009 23:08:29 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 86020 invoked by uid 99); 24 Jun 2009 23:08:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 23:08:29 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 23:08:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B5AE234C051 for ; Wed, 24 Jun 2009 16:08:07 -0700 (PDT) Message-ID: <1540365189.1245884887438.JavaMail.jira@brutus> Date: Wed, 24 Jun 2009 16:08:07 -0700 (PDT) From: "Chris Eldredge (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Created: (SOLR-1244) JdbcDataSource uses wrong overload of getConnection on JNDI DataSource 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 JdbcDataSource uses wrong overload of getConnection on JNDI DataSource ---------------------------------------------------------------------- Key: SOLR-1244 URL: https://issues.apache.org/jira/browse/SOLR-1244 Project: Solr Issue Type: Bug Components: contrib - DataImportHandler Affects Versions: 1.4 Environment: Any. Reporter: Chris Eldredge When configured to use a JDBC DataSource via JNDI, JdbcDataSource checks to see if initProps contains a property named "user." If that property is null, DataSource.getConnection(String user, String password) is used where DataSource.getConnection() should be called. I will provide a test case and patch that fixes the issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.