Ideally, one would use the PageManager APIs to add pages and folders instead of writing directly to the DB. This will ensure that cache entries are not only updated on the node the writes are done on, but on all Jetspeed nodes in the cluster.

Jetspeed is not generally coded to accept data via DB writes while running for any part of the schema. In fact, writing to the DB while Jetspeed is running may lead to data integrity issues. This is why Jetspeed ETL operations are done via the build or installer scripts.

HTH,

Randy

On 8/1/2011 2:34 AM, robin wrote:
hi all

    i have wrote some code to add page, folder and store it into database, but 
portal didnot show changes immidiatly because portal get contents from cache, 
how can i refresh cache by invoking jetspeed API or other ways.

   thanks.

2011-08-01



Best Regards
Robin Xie



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to