Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FOCCACHE Not Updating Randomly

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] FOCCACHE Not Updating Randomly
 Login/Join
 
Gold member
posted
Has anyone had any problems with a foccache table not updating after several, consecutive writes? Is it possible for it to timeout?

Background: On an html launch page, we have a summary report that outlines 28 different performance metrics. When a user clicks on the metric name (column 1), the report will load a summary graph of that particular metric into a frame located just to the right of the report, on the same html page.

We accomplished this by calling a procedure that passes a metric_id value to a foccache table whenever the metric name on column1 is clicked. After each time a metric name is clicked, the iframe and graph are reloaded, so that the graph may display the metric that was clicked based on the id written to the foccache table.

It works great when you click on a few metrics, but after a random number of clicks foccache will stop updating and the same graph will keep displaying , no matter which metric you select. If you wait a while, and resume clicking, the foccache table begins to accept updates again and the graph updates as normal.

This message has been edited. Last edited by: Joey Sandoval,




Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro


 
Posts: 94 | Location: Austin, TX | Registered: August 08, 2012Report This Post
Virtuoso
posted Hide Post
Is it really the foccache table that's not updating, or are you being fooled by the browser's cache?

If that's the case, the general solution is to add a query parameter to the URL so that it's different with each HTTP request, for example a time-stamp.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Gold member
posted Hide Post
Wep,
Well I queried the foccache table after every click and I could see that the value was not updating. But perhaps you are right the browser cache is interfering with the update. I'm not sure how I can add a parameter to the URL though..




Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro


 
Posts: 94 | Location: Austin, TX | Registered: August 08, 2012Report This Post
Platinum Member
posted Hide Post
You can change the report expiration setting in the WebFOCUS Client Console.
1. Select Configuration --> General
2. Change Expire_Reports from 300 to [n]. (n = the number of seconds. 5, 10 orwhatever suits you.).
4. Click save


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Gold member
posted Hide Post
Thank you Alex, changing that setting to 1 seems to have fixed the issue.




Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro


 
Posts: 94 | Location: Austin, TX | Registered: August 08, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FOCCACHE Not Updating Randomly

Copyright © 1996-2020 Information Builders