[jboss-jira] [JBoss JIRA] Updated: (JBVFS-118) CombinedVFSCache permanent root canonical url result in context not found

Ales Justin (JIRA) jira-events at lists.jboss.org
Wed Sep 16 09:21:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBVFS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin updated JBVFS-118:
------------------------------

    Fix Version/s: 2.2.0.Alpha


> CombinedVFSCache permanent root canonical url result in context not found
> -------------------------------------------------------------------------
>
>                 Key: JBVFS-118
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-118
>             Project: JBoss VFS
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.1.2.GA
>            Reporter: Juergen
>            Assignee: Ales Justin
>             Fix For: 2.2.0.Alpha
>
>
> org.jboss.virtual.plugins.cache.CombinedVFSCache init in conf/bootstrap/vfs.xml, permantent root key values are converted to URL via org.jboss.util.propertyeditor.URLEditor, which in turn uses org.jboss.util.Strings.toURL(String, String) to create a canonical version.
> so
> <key>file:/opt/jboss/home/../deploy</key>
> becomes:
> /opt/jboss/deploy
> but org.jboss.virtual.plugins.cache.CombinedVFSCache.findContext(URL) will not create a canonical url, so lookup with
> file:/opt/jboss/home/../deploy fails to match key /opt/jboss/deploy
> findContext should apply same String-to-URL conversion to guarantee match

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list