[jboss-jira] [JBoss JIRA] (JBWEB-271) Web resources from META-INF/resources do not get refreshed

Harald Wellmann (JIRA) jira-events at lists.jboss.org
Sun May 5 14:48:53 EDT 2013


    [ https://issues.jboss.org/browse/JBWEB-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772172#comment-12772172 ] 

Harald Wellmann commented on JBWEB-271:
---------------------------------------

I tracked this down to a cache which never expires for overlay resources. Using the same TTL both for ordinary and overlay resources appears to fix the problem. Patch attached.
                
> Web resources from META-INF/resources do not get refreshed
> ----------------------------------------------------------
>
>                 Key: JBWEB-271
>                 URL: https://issues.jboss.org/browse/JBWEB-271
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossWeb-7.2.0.Beta1
>            Reporter: Harald Wellmann
>            Assignee: Remy Maucherat
>
> In a running web application, developers expect changes in web resources to be reflected immediately when reloading the corresponding page in the browser.
> This works for top level resources in the WAR root, but not for resources stored in META-INF/resources in a WEB-INF/lib JAR.
> (I'm assuming a deployment with exploded JARs, the way JBoss Tools do it when the JAR project has the Dynamic Web Module facet.)
> Note: The version dropdown does not offer 7.2.0.Final-redhat-1 (the version shipped with EAP 6.1.0.Beta).

--
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