You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/08/20 20:44:26 UTC
[jira] [Resolved] (OPENEJB-2101) "+" in path to login.config leads
to configuration error
[ https://issues.apache.org/jira/browse/OPENEJB-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau resolved OPENEJB-2101.
-----------------------------------------
Resolution: Duplicate
> "+" in path to login.config leads to configuration error
> --------------------------------------------------------
>
> Key: OPENEJB-2101
> URL: https://issues.apache.org/jira/browse/OPENEJB-2101
> 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)