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

"+" in path to login.config leads to configuration error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 7.0.0-M2
    • Component/s: configuration
    • Labels:
      None

      Description

      The login.config file is usually auto-detected by scanning the applications classpath via the ClassLoader. If the login.config files happens to be in a directory hierarchy that has a "" somewhere, the configuration fails because the file path gets broken. "" is a special character in URLs that is a surrogate for a space. Somewhere in the configuration detection process the "+" gets replaced by a space and then the file cannot be found any more. E.g. "/home/user/one+two/login.config" will get "/home/user/one two/login.config".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                romain.manni-bucau Romain Manni-Bucau
                Reporter:
                sithmein Thorsten Meinl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: