You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Yvanovich (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/04/18 19:12:40 UTC
[jira] [Created] (TRINIDAD-2257) When a resource fails to load, add
an exception if the cached temp directory doesn't match the current temp
directory
When a resource fails to load, add an exception if the cached temp directory doesn't match the current temp directory
---------------------------------------------------------------------------------------------------------------------
Key: TRINIDAD-2257
URL: https://issues.apache.org/jira/browse/TRINIDAD-2257
Project: MyFaces Trinidad
Issue Type: Improvement
Components: Infrastructure
Reporter: Mark Yvanovich
Attachments: TempDirectoryResourceLoader.patch
We have been seeing issues periodically where resources are failing to load. Based on debugging information, it seems that this may be a case where the temp directory that is initially cached by the DirectoryResourceLoader is now different from the the current temp directory of the ServletContext object. Create a new package-private class TempDirectoryResourceLoader that extends DirectoryResourceLoader and will throw a state exception if on resouce load failure the temp directories don't match.
--
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
[jira] [Updated] (TRINIDAD-2257) When a resource fails to load, add
an exception if the cached temp directory doesn't match the current temp
directory
Posted by "Mark Yvanovich (Updated) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Yvanovich updated TRINIDAD-2257:
-------------------------------------
Status: Patch Available (was: Open)
> When a resource fails to load, add an exception if the cached temp directory doesn't match the current temp directory
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-2257
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2257
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Infrastructure
> Reporter: Mark Yvanovich
> Attachments: TempDirectoryResourceLoader.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> We have been seeing issues periodically where resources are failing to load. Based on debugging information, it seems that this may be a case where the temp directory that is initially cached by the DirectoryResourceLoader is now different from the the current temp directory of the ServletContext object. Create a new package-private class TempDirectoryResourceLoader that extends DirectoryResourceLoader and will throw a state exception if on resouce load failure the temp directories don't match.
--
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
[jira] [Commented] (TRINIDAD-2257) When a resource fails to load,
add an exception if the cached temp directory doesn't match the current
temp directory
Posted by "Mark Yvanovich (Commented) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256709#comment-13256709 ]
Mark Yvanovich commented on TRINIDAD-2257:
------------------------------------------
Code changes reviewed by Blake.
> When a resource fails to load, add an exception if the cached temp directory doesn't match the current temp directory
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-2257
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2257
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Infrastructure
> Reporter: Mark Yvanovich
> Attachments: TempDirectoryResourceLoader.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> We have been seeing issues periodically where resources are failing to load. Based on debugging information, it seems that this may be a case where the temp directory that is initially cached by the DirectoryResourceLoader is now different from the the current temp directory of the ServletContext object. Create a new package-private class TempDirectoryResourceLoader that extends DirectoryResourceLoader and will throw a state exception if on resouce load failure the temp directories don't match.
--
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