[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.birt] Re: cache server is not refreshed

pbo wrote:
Hi
when I publish an updated report or when I modify the data on server,
the tomcat server doesn't show the new value on the report
the cache on Tomcat is not refreshed. I must restart tomcat server to see my
new datas and to re build the report


Viewer servlet caches the report on disk.

You can give a name for the cached file with parameter  __document=name

where the name can be random or whatever (e.g. "/tmp/xyz.rptdocument". Using a different name will show a new report.

There is another parameter: __overwrite=true which is assumed to disable the cache feature alltogether.

__overwrite=true did not always return a fresh report, so I have used the __document too, which is good too for a multiuser environment, naming the report cache using sessionId makes them safe.