Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9335

Errors in windows service.bat error handling

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 6.0.0.Final
    • Fix Version/s: 6.1.0
    • Component/s: Other
    • Labels:
      None
    • Environment:

      Windows

      Description

      service.bat
      The errorlevel handling in the service.bat script is incorrect causing misleading error messages.
      The syntax:
      if errorlevel 1
      is used meaning "if errorlevel == 1", when it actual means "if errorlevel >= 1". The syntax that should be used is:
      if %errorlevel% EQU 1

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shelly.mcgowan Shelly McGowan
                Reporter:
                sgparry Stephen Parry
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: