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.
Majid, try putting a -EXIT at various points in your program to determine which part is failing. Then when you identify that, comment out bunches of code and re-add in steps to figure out what is causing the crash.
This is called the brute-force method, tedious but it works.
Thanks to all of you for your quick reply. I will consider with big interest all of your suggestions. But one thing is very strange: the report sometimes returns data and sometime it crashes the server. Note: I run the report with the same parameters.
Regards.
Majid.
WebFocus 7.6.5 AND WebLogic server as web server sql2005 as database server
Posts: 273 | Location: Europe | Registered: May 31, 2007
Sometimes, if you wind up running in the same agent and your report uses up CPU, the CPU number in the agent is cumulative and does not refresh with each connection. At some point you will reach the established threshhold for that agent and it will die. However, you usually get a different message when that happens.
For testing, try setting AGENT_REFRESH to 1 to see if the problem continues to happen.
I just had a problem with agents crashing and wanted to share this with you. My problem turned out to be my defin's.
I was using the edatemp area(no filedef's) to contain my processed information...how I was usinf a filedef pointing to a specific looped result and trying to relate the two...this caused eda to become confused...thus crashing agents...
If you are doing something like this either use all edatemp or all filedef'd hold areas.
Timothy Brydie
Prod: WebFOCUS 7.6.10 MRE Oracle/Sybase Test: DevStudio 7.6.6 WF Server 7.6.6 Report Caster 7.6.6 Web Server - Tomcat MS Windows XP SP2 Output: HTML, Excel 2000 , PDF, CSV, DOC
I am guessing that the type should not be REPORT. This should probably be SUBHEAD based on the fact that you have included a BY=. You may also want to either specify the actual column name on the BY= or give it a valid column reference such as B2, N2, P2. I don't know if BY=2 is valid. I am assuming there is additional content in this specific section of stylesheet as it is not complete.
P.S. When you post all 1200+ lines of code, it takes a while to get to the bottom of the post. And I wouldn't expect someone to go through that whole piece of code looking for a syntax error. Try narrowing things down a bit and then post appropriate sections of code. If more is needed, someone will ask for it.
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
Majid, as Ginny, Tony, & Darin so astutely pointed out you have alot going on here. 1. Remove stylesheet - decision time. Works consistently? then problem in stylesheet. If not, time to subdivide your code into sections and test it section by section. Good luck. Ira