Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-931

Embedded server start commands are lacking argument validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.0.DR11
    • 7.0.0.DR9
    • CLI, Management
    • None

      Commands for starting embedded instances are lacking argument validation.

      [disconnected /] embed-server foo
      [standalone@embedded /]
      
      [disconnected /] embed-server foo -foo
      [standalone@embedded /]
      
      [disconnected /] embed-server foo --foo
      [standalone@embedded /]
      
      [standalone@embedded /] stop-embedded-server foo
      The command accepts 0 unnamed argument(s) but received: [foo]
      
      [standalone@embedded /] stop-embedded-server -foo
      Unrecognized arguments: [-foo]
      
      [standalone@embedded /] stop-embedded-server --foo
      Unrecognized arguments: [--foo]

      Same case for embedded host controller.

              kwills@redhat.com Ken Wills
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: