Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 88686 invoked from network); 9 Nov 2008 15:13:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2008 15:13:20 -0000 Received: (qmail 1698 invoked by uid 500); 9 Nov 2008 15:13:21 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 1636 invoked by uid 500); 9 Nov 2008 15:13:21 -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 1201 invoked by uid 99); 9 Nov 2008 15:13:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 07:13:20 -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; Sun, 09 Nov 2008 15:12:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FA37234C28C for ; Sun, 9 Nov 2008 07:12:44 -0800 (PST) Message-ID: <1909445160.1226243564390.JavaMail.jira@brutus> Date: Sun, 9 Nov 2008 07:12:44 -0800 (PST) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Issue Comment Edited: (GERONIMO-4377) Fail to indicate datasource create unsuccessfully in admin console "database pool" porlet when choosing wrong database driver In-Reply-To: <557027216.1224817544186.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-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646078#action_12646078 ] xuhaihong edited comment on GERONIMO-4377 at 11/9/08 7:11 AM: --------------------------------------------------------- Sometimes, an exception occurs in the doRecovery method below. ..... public void doStart() throws Exception { ...... // The exception is occured at the line below, but this method's signature does not contain any throws, so it kept the exception. connectionManagerContainer.doRecovery(managedConnectionFactory); } It seems that this method is used to recovery the status. Since the signature of this method does not throw any exception. So all the exception occurs in this method could be ignored, righ ? By the way, I could not find the source code for connectionManagerContainer's implementation org.apache.geronimo.connector.outbound.AbstractConnectionManager, could anyone share me where it is, Thanks ! was (Author: xuhaihong): Sometimes, an exception occurs in the doRecovery method below. ..... public void doStart() throws Exception { ...... // The exception is occured at the line below, but this method's signature does not contain any throws, so it kept the exception. connectionManagerContainer.doRecovery(managedConnectionFactory); } It seems that this method is used to recovery the status. Since the signature of this method does not throw any exception. So all the exception occurs in this method could be ignored, righ ? By the way, I could find the source code for connectionManagerContainer's implementation org.apache.geronimo.connector.outbound.AbstractConnectionManager, could anyone share me where it is, Thanks ! > Fail to indicate datasource create unsuccessfully in admin console "database pool" porlet when choosing wrong database driver > ------------------------------------------------------------------------------------------------------------------------------ > > Key: GERONIMO-4377 > URL: https://issues.apache.org/jira/browse/GERONIMO-4377 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: databases > Affects Versions: 2.1.3 > Environment: Any plateform(windows or Linux) > Reporter: viola.lu > Priority: Minor > > 1.Login geronimo admin console, go to "database pools" porlet ->"using the geronimo database pool wizard" > ->input datasource name "test", database type"db2 xa" or other type you would like.Click "next." > 2.Choose any jar liseted as db2 xa driver,input other required fileds.Click "deploy" > 3.No hint to indicate it fail or succes.And go to "J2EE Connectors", you will find there is a newly created component :"console.dbpool/test/1.0/rar", and status is "running" , if you restart this component, error popsup. > 4.Also go to "$geronimo_install_dir/repository/console/dbpool", a newly created folder "test" exists. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.