You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rex Wang (JIRA)" <ji...@apache.org> on 2008/11/17 08:54:45 UTC
[jira] Created: (GERONIMO-4413) Improve usability of client.bat/sh
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
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.
[jira] Updated: (GERONIMO-4413) Improve usability of client.bat/sh
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (GERONIMO-4413) Improve usability of client.bat/sh
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated GERONIMO-4413:
-----------------------------------
Patch Info: [Patch Available]
Fix Version/s: 2.2
2.1.4
Assignee: Donald Woods
> 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.
[jira] Closed: (GERONIMO-4413) Improve usability of client.bat/sh
Posted by "Donald Woods (JIRA)" <ji...@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.
[jira] Commented: (GERONIMO-4413) Improve usability of
client.bat/sh
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648947#action_12648947 ]
Rex Wang commented on GERONIMO-4413:
------------------------------------
Thanks, Donald.
> 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.