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 21:00:26 UTC
[jira] [Resolved] (OPENEJB-2102) "+" in path to login.config leads
to configuration error
[ https://issues.apache.org/jira/browse/OPENEJB-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau resolved OPENEJB-2102.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.0
Assignee: Romain Manni-Bucau
> "+" 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
> Assignee: Romain Manni-Bucau
> Fix For: 5.0.0
>
>
> 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)