Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6383

jboss-cli.sh terminates suddenly if we use wild card characters with deployment-info command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.1.3.Final (EAP)
    • CLI
    • Hide

      Run the command:
      1. [standalone@apsrt0311:9999 /] deployment-info --name=*

      Show
      Run the command: 1. [standalone@apsrt0311:9999 /] deployment-info --name=*
    • Medium

    Description

      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)

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            jaysensharma Jay SenSharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: