Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 76877 invoked from network); 17 Nov 2008 17:58:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2008 17:58:05 -0000 Received: (qmail 2973 invoked by uid 500); 17 Nov 2008 17:58:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 2920 invoked by uid 500); 17 Nov 2008 17:58:12 -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 2909 invoked by uid 99); 17 Nov 2008 17:58:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 09:58:12 -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; Mon, 17 Nov 2008 17:56:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2E9E0234C256 for ; Mon, 17 Nov 2008 09:57:44 -0800 (PST) Message-ID: <1681492401.1226944664183.JavaMail.jira@brutus> Date: Mon, 17 Nov 2008 09:57:44 -0800 (PST) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-4413) Improve usability of client.bat/sh In-Reply-To: <1296542836.1226908485910.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-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods closed GERONIMO-4413. ---------------------------------- Resolution: Fixed Rev718300 in branches/2.1 (2.1.4-SNAPSHOT) Rev718301 in trunk (2.2-SNAPSHOT) Thanks Rex for the patch. > Improve usability of client.bat/sh > ---------------------------------- > > Key: GERONIMO-4413 > URL: https://issues.apache.org/jira/browse/GERONIMO-4413 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: application client > Affects Versions: 2.1.3 > Reporter: Rex Wang > Assignee: Donald Woods > Fix For: 2.1.4, 2.2 > > Attachments: GERONIMO-4413.patch > > > Run the following command: > > client.bat abc/not-exist-artifact/1.0/car > It should report something like "The client abc/not-exist-artifact/1.0/car is not existed" instead of the > following exception: > org.apache.geronimo.kernel.config.LifecycleException: load of abc/no-exist-artifact/1.0/car failed > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.jav > a:276) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at org.apache.geronimo.system.main.CommandLine.loadConfigurations(CommandLine.java:187) > at org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLine.java:98) > at org.apache.geronimo.system.main.ClientCommandLine.startClient(ClientCommandLine.java:77) > at org.apache.geronimo.system.main.ClientCommandLine.execute(ClientCommandLine.java:63) > at org.apache.geronimo.system.main.EmbeddedClientCommandLine.execute(EmbeddedClientCommandLine.java:43) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) > at org.apache.geronimo.cli.client.ClientCLI.main(ClientCLI.java:30) > Caused by: > org.apache.geronimo.kernel.config.NoSuchConfigException: abc/no-exist-artifact/1.0/car > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurationData(SimpleConfigurationManager > .java:476) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.jav > a:273) > ... 15 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.