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

openejb.bat Fails To Locate Core Jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.1
    • general
    • None
    • Windows

    Description

      If you run openejb.bat from within the bin folder or do not supply the full path to openejb.bat, Java will fail to locate the jar because OPENEJB_HOME is set wrong. This is because Windows only passes the string you typed to run the command instead of the full path to the command like *nix does. For example:

      /bin/openejb.bat

      Windows: /bin/openejb.bat
      Windows(Cygwin): /full/path/bin/openejb.bat
      *nix: /full/path/bin/openejb.bat

      Since we use that string and parse it to dynamically locate the directory to set OPENEJB_HOME, this is failing and continues to fail the openejb application.

      Attachments

        Activity

          People

            jcscoobyrs Jeremy Whitlock
            jcscoobyrs Jeremy Whitlock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: