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.
I'm working on a report that uses a long running sql server stored procedure. When I run the focus procedure the web page request seems to be timing out. I know the report works because if I hard code a record in the stored procedure the report runs fine. Is there a way to control the request timeout for reports in WebFocus?This message has been edited. Last edited by: Kerry,
In MRE, next to the "Run" icon, you will find the "Run Deferred" Icon.
Choose your report, click on the icon. Your report will be submitted for execution.
Next to the "Run Deferred" Icon, you will find the "Deferred Status" icon. Click on it. You will get a page showing the status of your report. When execution terminates, you will have the options to Delete, View or Save the output.
Scheduled: Do you have "Report Caster"? If so, you can schedule you report to run at certain predefined times. Check the RC doc.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
Thanks deferred/scheduled is good info to know. However, when this reports goes into production it needs to be available to our clients immediately. Isn't there a setting I can adjust that determines when the report times out? I'm not sure if you guys are familiar with Microsoft IIS, but there's a setting on the web server that allows you to set the request timeout...I'm looking for something similiar in webFocus.
I had this problem about a year ago and as Dan Satchell mentioned, changing the timeout settings for Internet Explorer fixed it.
The usual percautions should be taking before dealing with REGEDIT to apply these changes:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Internet Settings] Value Name: ReceiveTimeout Data Type: REG_DWORD (DWORD Value) Value Data: Time in milliseconds (default = 120,000)
Default seemed to be 60000 (1 minute) - changed to 180,000 - then reboot
Might also be:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Internet Settings] Value Name: KeepAliveTimeout Data Type: REG_DWORD (DWORD Value) Value Data: Time in milliseconds (default = 120,000)
With that said, you might want to post your code on this forum. Since you are new to WF, you might benefit from having the more experienced WF users make suggestions on how to increase performance.
My question is: Is it timing out in the browser or the reporting server? If the former, how many rows are you trying to bring back? If the latter, what is your CPU time limit for an agent? I think the default is 300 seconds.
when this reports goes into production it needs to be available to our clients immediately.
And if the report is taking so long that there is a time-out, regardless of whether it's in the reporting server or in returning the data to the browser, "immediately" is out of the question. Is someone really going to wait three minutes for a report to be returned to a browser? I would go with Francis' suggestion.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
So is it long running or 6 seconds? Just trying to find out where the problem lies so we can suggest where to make a change. What's the difference between the older version and this version? How was it changed and why is the change affecting how long it takes to run? (Maybe a parameter is not being passed correctly so it's trying to process/retrieve EVERY record.)
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
The report is being converted from classic asp to WebFocus but the newer version uses the same stored procedure as the older version. The older version displays a please wait message until the report loads. As I stated before, the newer version will run if I a hard-code the result set in the stored procedure so it can't have anything to do with a missing parameter.