You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Thorsten Meinl (JIRA)" <ji...@apache.org> on 2014/08/20 20:40:26 UTC

[jira] [Created] (OPENEJB-2102) "+" in path to login.config leads to configuration error

Thorsten Meinl created OPENEJB-2102:
---------------------------------------

             Summary: "+" in path to login.config leads to configuration error
                 Key: OPENEJB-2102
                 URL: https://issues.apache.org/jira/browse/OPENEJB-2102
             Project: OpenEJB
          Issue Type: Bug
          Components: configuration
    Affects Versions: 4.7.0
            Reporter: Thorsten Meinl


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".



--
This message was sent by Atlassian JIRA
(v6.2#6252)