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:52:38 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14104335#comment-14104335 ] 

Romain Manni-Bucau commented on OPENEJB-2102:
---------------------------------------------

Hi

did you try setting it in conf/system.properties?

> "+" 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)