[
https://issues.jboss.org/browse/AS7-6383?page=com.atlassian.jira.plugin.s...
]
Alexey Loubyansky resolved AS7-6383.
------------------------------------
Resolution: Duplicate Issue
This was fixed as AS7-6335
jboss-cli.sh terminates suddenly if we use wild card characters with
deployment-info command
---------------------------------------------------------------------------------------------
Key: AS7-6383
URL:
https://issues.jboss.org/browse/AS7-6383
Project: Application Server 7
Issue Type: Bug
Components: CLI
Affects Versions: 7.1.3.Final (EAP)
Environment: all OS
Reporter: Jay Kumar SenSharma
Assignee: Alexey Loubyansky
Labels: eap6, jboss
Incorrect exception handling in EAP6 jboss-cli utility.
While using jboss-cli.sh to access the deployment-info of all the deployed
applications like following:
[standalone@apsrt0311:9999 /] deployment-info --name=*
As soon as the above command is executed it "terminates" the CLI process
with the following exception:
[standalone@apsrt0311:9999 /] deployment-info --name=*
java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getChild(ModelValue.java:108)
at org.jboss.dmr.ModelNode.get(ModelNode.java:798)
at
org.jboss.as.cli.handlers.DeploymentInfoHandler.handleResponse(DeploymentInfoHandler.java:244)
at
org.jboss.as.cli.handlers.BaseOperationCommand.doHandle(BaseOperationCommand.java:213)
at
org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:529)
at
org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:545)
at
org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1114)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:243)
at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:294)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira