You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2013/11/14 23:29:21 UTC

[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

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

Scott O'Bryan updated TRINIDAD-2257:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-core
         Assignee: Jeanne Waldman
           Status: Resolved  (was: Patch Available)

r1328130 | jwaldman | 2012-04-19 22:13:28 +0000 | 2 lines
Changed paths:
   M /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/resource/DirectoryResourceLoader.java
   M /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/ResourceServlet.java
   A /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/TempDirectoryResourceLoader.java
   M /myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts

TRINIDAD-2257 When a resource fails to load, add an exception if the cached temp directory doesn't match the current temp directory
thanks to Mark Yvanovich for the patch


> 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
>            Assignee: Jeanne Waldman
>             Fix For: 2.1.0-core
>
>         Attachments: Jira2257.1.2.12.6.2.patch, 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 was sent by Atlassian JIRA
(v6.1#6144)