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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Excel Template Output Crash and Burn -- Any Ideas?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Excel Template Output Crash and Burn -- Any Ideas?
 Login/Join
 
Virtuoso
posted
While attempting to drive data into an excel template I got the following error:

SOLV
(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
(FOC1522)  ibi.jsexcel.JscomExcelZip
1
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
END


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,



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
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.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Master
posted Hide Post
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.


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report 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     [SOLVED] Excel Template Output Crash and Burn -- Any Ideas?

Copyright © 1996-2020 Information Builders