Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 46203 invoked from network); 7 Nov 2008 14:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2008 14:51:54 -0000 Received: (qmail 75230 invoked by uid 500); 7 Nov 2008 14:51:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 75184 invoked by uid 500); 7 Nov 2008 14:51:59 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 75173 invoked by uid 99); 7 Nov 2008 14:51:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 06:51:59 -0800 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; Fri, 07 Nov 2008 14:50:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D58EA234C289 for ; Fri, 7 Nov 2008 06:50:52 -0800 (PST) Message-ID: <33226715.1226069452873.JavaMail.jira@brutus> Date: Fri, 7 Nov 2008 06:50:52 -0800 (PST) From: "Lin Sun (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-4395) EmployeeDatasource and jdbc/EmployeeDatasource create the same files under $geronimo_install_dir/repository/console/dbpool directory In-Reply-To: <506013392.1225947704253.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645776#action_12645776 ] Lin Sun commented on GERONIMO-4395: ----------------------------------- How about either options below - 1. Whenever user enters a non-unique database pool name, we warn the user immediately (for example, when they click on the Next button) 2. Only generate random artifactid when there the artifactid is not going to be unique since this is a very rare case. I like the preserve the current behavior because there is nothing wrong with it and I don't want to surprise our users to hunt for the artifact id. Thanks Lin > EmployeeDatasource and jdbc/EmployeeDatasource create the same files under $geronimo_install_dir/repository/console/dbpool directory > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: GERONIMO-4395 > URL: https://issues.apache.org/jira/browse/GERONIMO-4395 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: databases > Affects Versions: 2.1.3 > Environment: Any platform > Reporter: viola.lu > Priority: Minor > Attachments: Geronimo-4395.patch > > > Steps: > 1.Login geronimo, go to database pool, create a "EmployeeDatasource" datasource with any db type. > 2.create another "jdbc/EmployeeDatasource" datasource with any db type. But some read error display that > EmployeeDatasource has existed in database pool. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.