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