[ 
https://issues.apache.org/jira/browse/JAMES-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Veit Guna updated JAMES-1354:
-----------------------------

    Attachment: spacefix_patch.txt

Fixes the File-to-URL handling in the phoenix Classloader classes.

Diff was created against the phoenix version mentioned in the 
james_phoenix.README:

https://svn.apache.org/repos/asf/avalon/cvs-migration-snapshot/avalon-phoenix/

                
> Problems with spaces in paths (phoenix)
> ---------------------------------------
>
>                 Key: JAMES-1354
>                 URL: https://issues.apache.org/jira/browse/JAMES-1354
>             Project: JAMES Server
>          Issue Type: Improvement
>          Components: James Core
>    Affects Versions: 2.3.1
>         Environment: Ubuntu Lucid
>            Reporter: Veit Guna
>         Attachments: spacefix_patch.txt
>
>
> We're using Apache James 2.3.0 in a project that calls EJBs from a
> Mailet. Until now we installed
> it under linux with a fixed, non-space-containing path. So far no problems.
> Now, we support Windows as well and the user should be able to choose
> the installation directory.
> So we installed to e.g. c:\Program Files\James. When we call an EJB on
> JBoss (5.1.0), that fails with a MalformedURL
> Exception. We looked deeper into the problem and found out, that the
> classpath that is generated by
> James/Phoenix (e.g. pointing to SAR-INF/classes, james-54355354/lib)
> contains unescaped spaces that will kill the jndi ctx.lookup.
> Please find attached a patch that adds support for spaces in paths to the 
> phoenix framework.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to