[jboss-jira] [JBoss JIRA] (JBAS-7832) VFSDirContext issues
Eric Sirianni (JIRA)
jira-events at lists.jboss.org
Wed Sep 26 10:29:03 EDT 2012
[ https://issues.jboss.org/browse/JBAS-7832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721972#comment-12721972 ]
Eric Sirianni commented on JBAS-7832:
-------------------------------------
This fix/workaround doesn't seem to work properly for overlays that are in JAR files in {{WEB-INF/lib}}. The semantics of {{VirtualFile.getPhysicalFile()}} don't seem appropriate for use here.
I've traced through the code to confirm this. For example, for a {{META-INF/resources dir embedded in WEB-INF/lib/foo.jar}}, the {{overlay.getPhysicalFile()}} call will create a new directory in {{/tmp/vfs/automount.../foo.jar/contents/META-INF/resources}}. However, it does not actually recursively copy the contents of that directory from foo.jar into the physical directory. So the contents of the "overlay" are not actually available as resources to the servlet.
Can this be addressed?
> VFSDirContext issues
> --------------------
>
> Key: JBAS-7832
> URL: https://issues.jboss.org/browse/JBAS-7832
> Project: Application Server 3 4 5 and 6
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: 6.0.0.M3
> Reporter: Remy Maucherat
> Assignee: Remy Maucherat
> Fix For: 6.0.0.Final
>
>
> Following the update to VFS 3, VFSDirContext exhibits weird behavior, although it is partially working. Workaround using a regular FileDirContext.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list