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.
Moreover, in addition to identifying which agent, you have to be certain that it is still processing this user's request...
A plan of attack to address both issues might be ... 1. create a file with a unique token as filename, at start of the report FEX session, 2. communicate that token to the browser session 3. on page unload, kick off a fex that will... 4. cycle through the agent directories trying to locate that file 5. when found, kill that agent and exit; if not just exit.
Whether [4] and [5] are feasible, and what tools to use, obviously depend on the operating system, and on security permissions.This message has been edited. Last edited by: j.gross,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Interested in this thread. How about in the Fex's that just use the standard built-in prompting? Basically, Fex only?
Also, what about users who do the "Isn't (click) this (click) thing (click) ever (click) going (click) to (click) finish (click) ?" Where 'click' equals reload/refresh/rerun.
If a request is taking so long that a user is killing the browser session, maybe you should try a different approach. We program our stuff so that the user's browser session is NEVER tied up for more than a few seconds. If a job is going to take longer than that, here is what we do:
1. The request along with any parameters are written into a .foc file 2. The logging program issues a DSTRUN for the report and the report is emailed to the user or 3. A job is scheduled hourly to process the unprocessed requests and the report is emailed to the user.
This way the browser session is never tied up.
One nice thing about this method is that if needed you can have a history of executions.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
Some nice ideas thanks, but I don't think from what's been said there is an easy answer ?
The obvious answer is to ensure that reports run in a few seconds then users wouldn't feel the need to bomb out of the session, however as we all know reports can sometimes have a mind of their own !
Thanks for the suggestion Jgleona but users don't want to wait for the report to run....
So going back to killing the server side thread when the user closes their browser, did we determin if this could be done ? I like the idea of a pop up box that asks the user if they really want to close their browser is good. But do we then have a method to kill off the report request ?
Does anyone from IB know ?
Thanks RichardThis message has been edited. Last edited by: Lambo911,
We use idle_agent_limit to get around this issue. We have it set to 120 seconds. This setting defines the tome that disconnected agents in excess of number ready can stay idle before theay are killed. This is set on the data Service that we use for on-line processing. (In plan installatio this would be the default service)
Crystal
Webfocus 8.0.7 on Windows
Posts: 176 | Location: Ohio | Registered: October 26, 2006
Per our technicals: According the doc, idle_agent_limit - Is the amount of time for which disconnected agents in excess of NUMBER_READY can stay idle before they are terminated.
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004