geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex Wang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4413) Improve usability of client.bat/sh
Date Mon, 17 Nov 2008 07:58:44 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rex Wang updated GERONIMO-4413:
-------------------------------

    Attachment: GERONIMO-4413.patch

provide a patch to show error message like following:
D:\_g\gb\server-2.1.4_rev713244\assemblies\geronimo-tomcat6-javaee5\target\assembly\bin>client.bat
abc/not-exist-artifact/1.0/car
Using GERONIMO_BASE:   D:\_g\gb\server-2.1.4_rev713244\assemblies\geronimo-tomcat6-javaee5\target\assembly
Using GERONIMO_HOME:   D:\_g\gb\server-2.1.4_rev713244\assemblies\geronimo-tomcat6-javaee5\target\assembly
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        D:\DevJava\Java\jdk1.5.0_15\jre
2008-11-17 14:16:54,015 ERROR [CommandLine] The Client is not found in server: abc/not-exist-artifact/1.0/car

> 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
>         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.


Mime
View raw message