Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6920

in 5.1.1 run.bat has typos that prevent finding run.conf.bat when not executed from the bin directory

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • EAP_EWP 5.1.1
    • EAP_EWP 5.2.0
    • Other
    • windows

    • Hide

      start run.bat from out side the bin directory

      Show
      start run.bat from out side the bin directory
    • Release Notes
    • Hide

      edit run.bat, and correct line 12 to read: set "DIRNAME=%~dp0%"

      Show
      edit run.bat, and correct line 12 to read: set "DIRNAME=%~dp0%"
    • Low
    • Hide
      A syntax error was discovered in the <filename>run.bat</filename> batch file distributed with JBoss Enterprise Application Server 5.1.1. When run on Windows Server, if <filename>bin</filename> directory was not the current directory, <filename>run.bat</filename> failed to call the associated <filename>run.conf.bat</filename>. The batch file has now been corrected and <filename>run.conf.bat</filename> is called as intended.
      Show
      A syntax error was discovered in the <filename>run.bat</filename> batch file distributed with JBoss Enterprise Application Server 5.1.1. When run on Windows Server, if <filename>bin</filename> directory was not the current directory, <filename>run.bat</filename> failed to call the associated <filename>run.conf.bat</filename>. The batch file has now been corrected and <filename>run.conf.bat</filename> is called as intended.
    • Documented as Resolved Issue
    • NEW

    Description

      Line 12 of run.bat as delivered with JBoss EAP 5.1.1:

      set "DIRNAME=!~dp0!"

      Of course this should be:

      set "DIRNAME=%~dp0%"

      This prevents run.bat to find the run.conf.bat file when not executed from within the actual bin directory

      Attachments

        Issue Links

          Activity

            People

              tfonteyn Tom Fonteyne (Inactive)
              tfonteyn Tom Fonteyne (Inactive)
              Russell Dickenson Russell Dickenson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: