when client.bat/sh a non-exist project, return a error msg instead of a
Exception stack log to user
----------------------------------------------------------------------------------------------------
Key: GERONIMO-4406
URL: https://issues.apache.org/jira/browse/GERONIMO-4406
Project: Geronimo
Issue Type: Improvement
Security Level: public (Regular issues)
Reporter: Rex Wang
D:\_w\wr\wasce-server-2.1.1.1\bin>client.bat abc/nnnn/1.1/car
Using GERONIMO_BASE: D:\_w\wr\wasce-server-2.1.1.1
Using GERONIMO_HOME: D:\_w\wr\wasce-server-2.1.1.1
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME: D:\DevJava\Java\jdk1.5.0_15\jre
Client Build: V2.1.1.1-20081017
Java Version: 1.5.0_15
13:11:11,234 ERROR [CommandLine] Client failed with exception:
org.apache.geronimo.kernel.config.LifecycleException: load of abc/nnnn/1.1/car f
ailed
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:276)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:832)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at org.apache.geronimo.system.main.CommandLine.loadConfigurations(Comman
dLine.java:192)
at org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLi
ne.java:100)
at org.apache.geronimo.system.main.ClientCommandLine.startClient(ClientC
ommandLine.java:84)
at org.apache.geronimo.system.main.ClientCommandLine.execute(ClientComma
ndLine.java:70)
at org.apache.geronimo.system.main.EmbeddedClientCommandLine.execute(Emb
eddedClientCommandLine.java:43)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.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/nnnn/1.1
/car
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
igurationData(SimpleConfigurationManager.java:489)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:273)
... 15 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.