[JIRA] Commented: (JOWS-37) FileBackedHttpResource does not properly read backup file, during initialization, if remote file is unreachable
Brent Putman (JIRA)
noreply at shibboleth.net
Fri Sep 14 18:04:21 EDT 2012
[ https://issues.shibboleth.net/jira/browse/JOWS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390#comment-14390 ]
Brent Putman commented on JOWS-37:
----------------------------------
Changes to ResourceChangeWatcher in r435.
If Resource#exists() throws in the constructor, it now behaves like the run() method: it increments the currentRetryAttempts and then checks to see whether currentRetryAttempts >= maxRetryAttempts only throws out of the constructor if that is true. We don't need any other flag since the constructor arg retryAttempts implicitly handles influencing the behavior.
I think this closes this issue out.
> FileBackedHttpResource does not properly read backup file, during initialization, if remote file is unreachable
> ---------------------------------------------------------------------------------------------------------------
>
> Key: JOWS-37
> URL: https://issues.shibboleth.net/jira/browse/JOWS-37
> Project: OpenWS - Java
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.4.4
> Reporter: Chad La Joie
> Assignee: Chad La Joie
> Priority: Minor
>
> The FileBackedHttpResource does not read, and return, the backup file if the remote file can not be read during installation. This may be desired behavior in some cases but may not be in others. Probably should have a flag to control this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list