mq
  1. mq
  2. MQ-200

Imqsvcadmin does not return the correct ERRORLEVEL.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows
      Glassfish V4.0 b45

      Description

      Imqsvcadmin does not return the correct ERRORLEVEL.

      1.Execute the following command. (imqsvcadmin install has not been executed yet.)

      C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqsvcadmin  remove
      Failed to remove service Message Queue 4.6 Broker: The specified service does not exist as an instal
      led service.
      
      C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>echo %ERRORLEVEL%
      0
      

      ERRORLEVEL is 0 when error message is displayed.

      2.When imqsvcadmin -h is executed, the ERRORLEVEL is 1.

      C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>imqsvcadmin  -h
      
      C:\glassfish\glassfish-4.0-b45\glassfish3\mq\bin>echo %ERRORLEVEL%
      1
      

      ERRORLEVEL is 1 even when there is no error.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Ed Bratt
            Reporter:
            tak09
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: