[SOLVED] Excel Template Output Crash and Burn -- Any Ideas?
While attempting to drive data into an excel template I got the following error:
(FOC1522) ntjprerr: CALLPGM execution error caused by:
(FOC1522) org.apache.james.mime4j.parser.MimeParseEventException: Body part
(FOC1522) ended prematurely. Boundary detected in header or EOF reached..
(FOC1522) CPJAVA: Error in processing EXECUTE command for Class
0 NUMBER OF RECORDS IN TABLE= 4905465 LINES= 24
That's a beauty. I'm getting 24 lines of output, which is exactly what I expect and the data seems simple and normal when I just output to the browser. It outputs fine to format XLSX. The minute I put the template in play it crashes and burns. The code --
TABLE FILE MAPPING_DATA_PREP
SUM CNT.DST.SOUNDEX/I9 AS 'Products'
REAL_ID_COMPLIANT AS 'Compliants'
COMPUTE NUMBER_NON_COMPLIANT/I9 = CNT.DST.SOUNDEX - REAL_ID_COMPLIANT; AS 'Non-Compliants'
COMPUTE PERCENT_OF_TOTAL_COMPLIANT/D6.2% = REAL_ID_COMPLIANT / CNT.DST.SOUNDEX * 100; AS 'Percent Compliant'
COMPUTE PERCENT_OF_TOTAL_NON_COMPLIANT/D6.2% = (1 - REAL_ID_COMPLIANT / CNT.DST.SOUNDEX) * 100; AS 'Percent Non-Compliant'
BY COUNTY_NAME AS 'County Name'
WHERE COUNTY_NAME GT 'A';
-*WHERE EXPIRATION_DATE LT '20221001'
WHERE TOTAL CNT.COUNTY_NAME GT 5
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD AS TEMP FORMAT XLSX TEMPLATE 'real_id_map_template.xltm' SHEETNUMBER 1
It's finding the template. So I don't really know how to proceed on diagnosing this error.
Do I need to have Office installed on the WebFOCUS server?This message has been edited. Last edited by: FP Mod Chuck,
June 26, 2020, 03:52 PM
Great News -- SET EXCELSERVURL = http://mvgbibiwf2:8080/ibi_apps got the spreadsheet to open. Now I have to figure out how to get all the text to show up! The numbers appeared, but not the titles or the text field.
June 26, 2020, 04:55 PM
FP Mod Chuck
Was the EXCELSERVURL blank or did it have another value in it?
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
June 26, 2020, 07:22 PM
We recently had an issue using the Excel Template.
If one user ran it, it is fine, but if two users ran it at the same time, the server CPU would spike to 99%. 98% was assigned to a jscom3 process that would never get released. I would have to kill the process for the server to free up CPU.