[
https://issues.apache.org/jira/browse/MYFACES-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043643#comment-14043643
]
Leonardo Uribe commented on MYFACES-3899:
-----------------------------------------
I have to insist. The code has been checked fully, and the only logic
explanation to the behavior you describe is the file Messages.properties
disappear from the classpath somehow. I also see missing dependencies in the
war file. It should have:
commons-beanutils-1.8.3.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-logging-1.1.1.jar
geronimo-atinject_1.0_spec-1.0.jar (or similar, optional)
geronimo-jcdi_1.0_spec-1.0.jar (or similar, optional)
jstl-1.2.jar
but besides that, there is no way to reproduce the problem even with the war
file. It should be something related to the way how are you running the server.
> Messages missing after reload with CACHE_EL_EXPRESSIONS = alwaysRecompile
> -------------------------------------------------------------------------
>
> Key: MYFACES-3899
> URL: https://issues.apache.org/jira/browse/MYFACES-3899
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.2.3
> Reporter: Matt Weaver
> Assignee: Leonardo Uribe
> Attachments: MessageTest.zip, build.xml, messagetest.war
>
>
> When CACHE_EL_EXPRESSIONS is set to alwaysRecompile in the web.xml, after
> reloading sometimes all values loaded from a resource bundle come in blank.
> For example, in a page like below the first time everything looks fine, if
> you reload the page all you see is a blank page (actually everything is
> working except the outputText):
> {code:xml}
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html">
>
>
> <f:view>
> <f:loadBundle basename="Messages" var="msg" />
>
> <h:body>
>
> <h1><h:outputText value="#{msg.hello}" /></h1>
>
> </h:body>
> </f:view>
>
> </html>
> {code}
> I will attach a full example project.
--
This message was sent by Atlassian JIRA
(v6.2#6252)