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     [CLOSED] Crashed agents but successful output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Crashed agents but successful output
 Login/Join
 
Master
posted
I just noticed today that a very long program (to me anyway ~900 lines) seems to be crashing on run. I didn't realize this until I couldn't get a thread on the server because all my crashes were hogging them. When I logged into the agent console I saw the dead bodies of all my little agents laying around with x's in their eyes and the word 'crashed' on their little tombstones.

The funny thing is, I've been getting output which leads me to believe things are running successfully. The HTML page includes the following messages in the comments at the bottom.

<!--
0 NUMBER OF RECORDS IN TABLE=      100  LINES=    100
0 NUMBER OF RECORDS IN TABLE=      100  LINES=    100
0 NUMBER OF RECORDS SELECTED=      100  LINES=    100
0 NUMBER OF RECORDS SELECTED=      100  LINES=    100
0 LINES OF MATCH OUTPUT     =      200
0 NUMBER OF RECORDS IN TABLE=      200  LINES=    200
' SENT
SENT
SENT
SENT
' SENT
SENT
SENT
SENT
' SENT
SENT
SENT
SENT
0 NUMBER OF RECORDS IN TABLE=      200  LINES=    200
SENT
SENT
0 NUMBER OF RECORDS IN TABLE=      200  LINES=    200
0 NUMBER OF RECORDS IN TABLE=       65  LINES=     65
0 NUMBER OF RECORDS IN TABLE=       20  LINES=     20
0 NUMBER OF RECORDS IN TABLE=        0  LINES=      0
0 NUMBER OF RECORDS IN TABLE=      100  LINES=    100
0 NUMBER OF RECORDS IN TABLE=      100  LINES=    100
0 NUMBER OF RECORDS IN TABLE=      138  LINES=    138
0 NUMBER OF RECORDS IN TABLE=      138  LINES=    138
0 NUMBER OF RECORDS IN TABLE=      138  LINES=    138
0 NUMBER OF RECORDS IN TABLE=      138  LINES=    138
0 NUMBER OF RECORDS IN TABLE=       94  LINES=     94
0 NUMBER OF RECORDS IN TABLE=       43  LINES=     43
0 NUMBER OF RECORDS IN TABLE=        1  LINES=      1
0 NUMBER OF RECORDS IN TABLE=      138  LINES=     94
-->


Lots of holds and joins, in case you're wondering. Not sure what those 'sent's are, they've been there since almost the beginning, but I don't think they have anything to do with this. I've tried 'EXIT'ing on major breaks in the program but so far haven't seen any resolution. Any clues for me as to what this could mean or what type of an issue this suggests?

- ABT

This message has been edited. Last edited by: ABT,


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
Are you able to set ECHO to ON or ALL, to see what the code is doing ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
I would search for SENT in the code and see if there are one or more extra or missing single quotes.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Master
posted Hide Post
quote:
Originally posted by Dan Satchell:
I would search for SENT in the code and see if there are one or more extra or missing single quotes.


The 'SENT' messages seem to be coming after three multi field joins. As I said previously, this was coming out even before I noticed the crashed agent problem. It doesn't seem to be affecting anything and is at most a curiousity. Just wanted to close the loop on it though.

JOIN
 LEFT_OUTER BT_SRG_FEED_1.PAYOR_CODE_1 AND BT_SRG_FEED_1.COMPANY_CODE
 IN BT_SRG_FEED_1 TO UNIQUE T2INSPLAN.T2INSPLAN.INSURANCE_PLAN_CODE
 AND T2INSPLAN.T2INSPLAN.INS_PLAN_TABLE_ID IN T2INSPLAN TAG J11 AS J11
 END


JOIN
 LEFT_OUTER BT_SRG_FEED_1.PAYOR_CODE_2 AND BT_SRG_FEED_1.COMPANY_CODE
 IN BT_SRG_FEED_1 TO UNIQUE T2INSPLAN.T2INSPLAN.INSURANCE_PLAN_CODE
 AND T2INSPLAN.T2INSPLAN.INS_PLAN_TABLE_ID IN T2INSPLAN TAG J12 AS J12
 END


JOIN
 LEFT_OUTER BT_SRG_FEED_1.PAYOR_CODE_3 AND BT_SRG_FEED_1.COMPANY_CODE
 IN BT_SRG_FEED_1 TO UNIQUE T2INSPLAN.T2INSPLAN.INSURANCE_PLAN_CODE
 AND T2INSPLAN.T2INSPLAN.INS_PLAN_TABLE_ID IN T2INSPLAN TAG J13 AS J13
 END


After the code above and TABLE PRINT ... HOLD on the results, here are the outputs:

 0 NUMBER OF RECORDS IN TABLE=      100  LINES=    100
 0 NUMBER OF RECORDS IN TABLE=      100  LINES=    100
 0 NUMBER OF RECORDS SELECTED=      100  LINES=    100
 0 NUMBER OF RECORDS SELECTED=      100  LINES=    100
 0 LINES OF MATCH OUTPUT     =      200
 0 NUMBER OF RECORDS IN TABLE=      200  LINES=    200
 ' SENT
 SENT
 SENT
 SENT
 ' SENT
 SENT
 SENT
 SENT
 ' SENT
 SENT
 SENT
 SENT
 0 NUMBER OF RECORDS IN TABLE=      200  LINES=    200


- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
Those "SENT" lines may not be "at most a curiousity" - I've never seen one before. And you say "this was coming out even before I noticed the crashed agent problem" - this doesn't rule out them causing the crash. What does the last step of code do?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
quote:

Are you able to set ECHO to ON or ALL, to see what the code is doing ?


I did, but it doesn't really reveal anything of interest. Just a code dump with the variables filled in and nothing really looks out of place.

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Master
posted Hide Post
>20 By statements (in several blocks). Evidently, that's a no-no....

-ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Expert
posted Hide Post
Posting the code may help, as one of us may see something that you haven't.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] Crashed agents but successful output

Copyright © 1996-2020 Information Builders