Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-955

Wrong error message during install for Tomcat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2, 4.0
    • Component/s: tomee
    • Labels:
      None
    • Environment:
      Unix/Linux

      Description

      During OpenEJB installation using the OpenEJB Tomcat-Installer the installer checks the existence of the files catalina.sh and catalina.bat. If one of those does not exist, the installer produces the message

      "Catalina catalina.sh file does not exist".

      Note that it says "catalina.sh", even if the missing file is catalina.bat.
      On many Unix/Linux systems, catalina.bat is removed, since it is never used.

      Fix part 1: Change error message when checking catalina.bat (trivial, patch attached)
      Fix part 2: Don't try to fix catalina.bat on Unix/Linux when non-existing, don't try to fix catalina.sh on Windows when not existing (don't abort installation)

        Attachments

        1. openejb.patch
          0.7 kB
          Rudi Tairow

          Activity

            People

            • Assignee:
              jgallimore Jonathan Gallimore
              Reporter:
              rudi.tairow Rudi Tairow
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: