Focal Point
Agents crashing

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6681058331

May 10, 2005, 08:25 PM
<Ed>
Agents crashing
We have many fexes under WebFOCUS53\basedir\fixpocaj\app
One amongst them displays a report in html format....and is working fine.

this report has a link for a pdf version...which when click calls another fex. this fex is running perfect intermittently. however, once in a while it fails with this error:

Error occurred.
ERROR: MR_UNKNOWN_ERROR -12: Pcb2.: java.io.EOFException

if I check the agent on the server console...the agent status is shown as CRASHED.

----
this is not occuring for all instances.
in some cases, if I do a web-browser refresh on this error page...the expected pdf document returns.

what could be the reason for the agent crashes?
thanks

Ed.
June 02, 2005, 02:13 PM
Kerry
Ed,

Here is the SPS on your error message. Hope it's helpful to you.


Symptom:

Application receives:
MR_UNKNOWN_ERROR -12: Pcb2.: java.io.EOFException


Problem:

Parsing of a large MFD with several DEFINEd fields. There may have been bad data for a DATE field that is not handled properly.


Solution:

Corrected in 527.
Workarounds:
Move DEFINE to FEX instead
OR
SET COMPUTE = OLD
July 25, 2007, 10:33 AM
gregson06
Just as an FYI for those who got this error, I managed to fix this error (WebFOCUS 5.3) by making sure that I cleared my joins. I had a join that was being referenced by another procedure and I don't think that the agent liked that amount of data being pulled back and forth. After clearing the join it worked like a charm. I haven't had to use long hold names but I, too, dislike the cryptic Java errors that appear from time to time.

Thanks!
July 25, 2007, 11:15 AM
Jim Morrow
I had a similar problem, with crashing agents. The solution with 5.3.3 was a join clear AFTER the TABLE request. See the thread

https://forums.informationbuilders.com/eve/forums/a/tpc/...751084622#9751084622

We have 7.1.7 in test and the problem appears to be fixed.


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



July 25, 2007, 07:56 PM
FortuneCookie
For ED's problem if it worked in HTML, i'm assuming he's using the same stylesheet code for PDF. I've seen instances where we had to change the Stylesheet code specifically for PDF output.

It's possible that the abend is coming from the styling code. Support would need to get traces and a savediag to confirm why it crashed


Prod: WebFOCUS 7.1.6, Windows 2003

Dev: WebFOCUS 7.6.2, Windows 2003
July 26, 2007, 09:06 AM
jgelona
IMO, it is a good idea to clear joins, defines and filedefs when you are done them. Just a habit I picked up back in the early days of PC FOCUS when memory was at such a premium.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.