Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-503

Artemis cli tools does not check and warns user if passed arguments are valid

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: A-MQ 7.0.0.ER14
    • Fix Version/s: A-MQ 7.0.0.ER16
    • Component/s: None
    • Labels:

      Description

      By trying this non-existing option, it leads me to new bug. Create instance (maybe whole cli-tool is affected as well) is unable to recognize valid and invalid arguments passed by user. So you can happily put there any argument and broker cli tool is fine with it without any complains to user.

      For example non-existing http-host & lalal option:

      /opt/jboss-amq-7/bin/artemis create  --force --nio --allow-anonymous --role=amq --user=guest --broker-security=basic --password=guest  --name=amq --http-host=0.0.0.0 --http-port=8888 --lalal=2 /opt/jboss-amq-7-http
      Creating ActiveMQ Artemis instance at: /opt/jboss-amq-7-http
      
      Auto tuning journal ...
      done! Your system can make 0.25 writes per millisecond, your journal-buffer-timeout will be 4080000
      
      You can now start the broker by executing:  
      
         "/opt/jboss-amq-7-http/bin/artemis" run
      
      Or you can run the broker in the background using:
      
         "/opt/jboss-amq-7-http/bin/artemis-service" start
      
      [0,root@r7x1_mtoth ~]$ 
      

      As you can see, ecode is 0. I will open a new bug for this.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gaohoward Howard Gao
                  Reporter:
                  mtoth Michal Toth
                  Tester:
                  Petra Svobodova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: