Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 6277 invoked from network); 29 Jun 2005 21:04:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2005 21:04:15 -0000 Received: (qmail 95684 invoked by uid 500); 29 Jun 2005 21:04:05 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 95554 invoked by uid 500); 29 Jun 2005 21:04:05 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 95439 invoked by uid 99); 29 Jun 2005 21:04:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2005 14:04:04 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0ADA0D5 for ; Wed, 29 Jun 2005 23:04:01 +0200 (CEST) Message-ID: <293753541.1120079041043.JavaMail.jira@ajax.apache.org> Date: Wed, 29 Jun 2005 23:04:01 +0200 (CEST) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-406) Client DataSource should not require user property to be set In-Reply-To: <128844967.1120079040161.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-406?page=all ] Kathey Marsden updated DERBY-406: --------------------------------- Version: 10.1.1.0 10.2.0.0 > Client DataSource should not require user property to be set > ------------------------------------------------------------ > > Key: DERBY-406 > URL: http://issues.apache.org/jira/browse/DERBY-406 > Project: Derby > Type: Bug > Components: Network Client > Versions: 10.1.1.0, 10.2.0.0 > Reporter: Kathey Marsden > Attachments: DataSourceNoUser.java > > ClientDataSource should not require user to be set. It should default to user APP as described in: > http://incubator.apache.org/derby/docs/adminguide/cadminappsclient.html > This all seems to work ok for for DriverManager connections but fails for ClientDataSource > run the attached repro > $ java DataSourceNoUser > embedded no userid/password > client userid/password set > client no password > client no userid/no password > org.apache.derby.client.am.SqlException: null userid not supported > at org.apache.derby.client.net.NetConnection.checkUser(NetConnection.java:998) > at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java:380) > at org.apache.derby.client.net.NetConnection.initialize(NetConnection.java:233) > at org.apache.derby.client.net.NetConnection.(NetConnection.java:201) > at org.apache.derby.jdbc.ClientDataSource.getConnection(ClientDataSource.java:156) > at org.apache.derby.jdbc.ClientDataSource.getConnection(ClientDataSource.java:135) > at DataSourceNoUser.main(DataSourceNoUser.java:42) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira