cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: Flowscripts - are they cached?
Date Mon, 12 Nov 2007 06:03:09 GMT
I tried both of those suggestions, but to no avail. (I am not 
using cookies.) I found that even when I deleted the file, and
replace it by a new one with a new name, Cocoon continued
to use the "old" version, until a Tomcat restart was performed.

>>> Johannes Textor <> 2007/11/10 01:08 PM >>>
From my experience the situation is like this:

- if you have an active http session, log out (or delete the cookie 
using crl+shift+del in firefox or whatever) and the new script should be 

- if you have a "main" flow script file which includes other scripts, 
changes in the included scripts are not noticed by cocoon unless you 
touch the main script.


Carsten Ziegeler wrote:
> Grzegorz Kossakowski wrote:
>> Derek Hohls pisze:
>>> Working with Cocoon 2.1.8 and Tomcat 5 on
>>> a Linux box.  It appears that changes to flowscript
>>> files are not reflected in Cocoon which continues to
>>> work with a previous version.  How do I ensure
>>> that the new version/s are used - without restarting
>>> Tomcat?
>>> (I do not see the same effect on my local machine...
>>> but there I am running Jetty).
>> I don't know how flowscipt management works exactly but a quick guess:
>> have you tried to touch a sitemap referencing modified flowscript?
> I don't remember the details, but for some reason the flowscripts are
> linked to the current user session. So if you have a session and change
> the flowscript, logging out of the session and logging in again should
> load the new flow script.
> Carsten

To unsubscribe, e-mail: 
For additional commands, e-mail: 

This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.

View raw message