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.
Thanks jgelona: coding alphas instead of numerics can result in a reference to an unpredictable area of memory which results in corruption or a protection exception (bit like buffer overflow exploits favoured by hackers)! This causes agent crashes.
Another one I remember is USE statements that refer to illegal or not existent directories. So I would always do a check on any files explicitly coded to see if they are legal.
HAPPY WEEKEND EVERYONE!
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
Another one: HOLD FORMAT FOCUS INDEX XX where XX is not in the hold file. The following example crashes because the AS with ASNAMES ON changes the name in the held output.
TABLE FILE COMPANY_PERSON_ALL SUM WSA_DAY_SCHED_CODE AS 'Day Sched Code' SCH_DAY_SCHED_NAME AS 'Day Sched Name' BY CPA_EMP_NO AS 'Emp No' IF CPA_SUBCONTRACTOR EQ 'Matchtech' IF CPA_EMP_CAT_NAME EQ 'SUB CON' WHERE WSA_DRF LE '&TODATE' AND WSA_DRT GE '&TODATE' ON TABLE HOLD AS HR1067A FORMAT FOCUS INDEX CPA_EMP_NO END -EXIT
HAPPY MONDAY EVERYONE!
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
A missing quote in a define before conatenating 4 single quotes, without an end on a define. DEFINE FILE ONE MYFIELD/A20 = 'text || '''' || 'text'; TABLE FILE ONE
Maybe a bit far fetched, but how do you think I found it....
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
DEFINE FILE CAR TOTAL_SALES/D12.2=RETIAL_COST*SALES END TABLE FILE CAR SUM TOTAL_SALES/D15.2 END
The above is fixed in 761 server.
The -DEFAULTS crash - that is suppose to produce an error msg. But a fix that was placed in 761 caused a crash while producing this specific error msg. Programming is fixing.
Brian Suter VP WebFOCUS Product Development
Posts: 200 | Location: NYC | Registered: January 02, 2007
Can we have something that helps us determine the cause from the initial agent crash screen?
1. I don't think the users mind if they get a screen dump rather than the neat agent crashed message - they still have not got their output they want.
2. The edaprint.log provides little further information. Here is a typical trace.
12/17/2007 16:57:34 request by edapmon to notify agent has crashed (tscomid=95)
12/17/2007 16:57:34 agent started (tscomid=96, pid=1412, svc=DEFAULT)
12/17/2007 16:57:34 request by t3rp1412 to notify agent is ready (tscomid=96)
12/17/2007 16:57:34 edapth: email sent to webfocusteam@fleet-support.co.uk
3. The only solution to attempt diagnosis is to rerun the code with a full trace on and look at diagnostics which where you have multi-use agents will tend to include the output of other users that used the same agent. You need to wait till everyone's gone home before trying things.
It should not be beyond the wit of man to produce some simple diagnostics.
A. I am assuming that an agent crash is an exception handler that catches events such as array index out of bounds, null pointers, zero divides etc. Currently it justs prints a message "Agent Crashed" but it could do so much more since the stack will probably be intact even after a failure.
B. First of all a stack traceback would be handy.
C. There should be a pointer maintained to a string descriptor of where wf is within its processing which is always maintained and printed after the stack trace.
Stage: Application of Styling Information
D. An additional pointer to the structure being processed should be maintained and an attempt to print something sensible such as 256 bytes either side of the pointer.