Jos Vos wrote:
This said, if your last modification date is updated, it should work. If it doesn't, can you try adding:
<cache-control><use-local-cache>false</...></...>
to your config, and see what happens?
To what config, where should I put this?
To the File serializer config.
It's not specifically related to the file-serializer. The piece of code that is exacuted is:
<p:processor name="oxf:scope-serializer"> <p:input name="config"> <config> <key>ident</key> <scope>session</scope> </config> </p:input> <p:input name="data" href="params/ident.xml"/> </p:processor>
<p:processor name="oxf:identity"> <p:input name="data" href="params/ident.xml"/> <p:output name="data" id="curr-ident" ref="ident-config"/> </p:processor>
<!-- debug --> <p:processor name="oxf:file-serializer"> <p:input name="config"> <config><directory>/tmp</directory><file>debug2x.xml</file></config> </p:input> <p:input name="data" href="params/ident.xml"/> </p:processor>
I didn't check the scope, but at least the identity and the file-serializer seem to get the wrong (old) contents in *most* cases. That is, at some moments a change I make in params/ident.xml is visible at the next try, in other cases it never seems to appear and I have to restart Tomcat.
Later today, I want to install the 2.7 tree and continue working with that, just to be sure about the environment.
There have been some fixing made to caching for 2.7 for some particular processors (Request generator, Scope generator, URL generator, mainly), and there is now also a unit test suite for testing the caching behavior of several processors, so it is definitely worth upgrading. But still, I have never experienced a behavior as broken as the one you are describing. Not saying it does not happen in your case, but I am wondering what kind of setup could cause this.
Do you access your resources through the FlatFileResourceManager, or through another resource manager?
-Erik
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user
