OFSAAI 7.2 Excel Upload Issues for Loads With Large Amount of Records (Doc ID 1461518.1)

Last updated on AUGUST 12, 2015

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.2.10 to 7.2.12 [Release 7]
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

On Oracle Financial Services Analytical Applications Infrastructure (OFSAAI) 7.2.10, when attempting to load a large amount of data through Excel Upload various errors occur. When attempting to load 65K rows and 245 columns in a single spreadsheet Excel upload, the following error occurs:

ERROR
[ETL-EXCELUPLOAD]===========================EXCEL UPLOAD GOING TO START======================
[ETL-EXCELUPLOAD]Load Excel Data--ExcelFileName:: DATA 50K.XLS
[ETL-EXCELUPLOAD]ExcelFileName::
Target Infodom ==> ORDEMO
[ETL-EXCELUPLOAD]In loadExcelData ExcelFilePath ::/opt/oracle/OFSAAI/ftpshare/ExcelTemp/Templates/Data 50K.xls
[ETL-EXCELUPLOAD]Excel File Path ::/opt/oracle/OFSAAI/ftpshare/ExcelTemp/Templates/Data 50K.xls
[ETL-EXCELUPLOAD]Log file path is/opt/oracle/OFSAAI/ftpshare/ExcelTemp/logs
[ETL-EXCELUPLOAD reading of table started:Tue May 01 13:41:52 BST 2012]
[ETL-EXCELUPLOAD] Parsing succesfulTue May 01 13:42:05 BST 2012
[ETL-EXCELUPLOAD]started forming queryTue May 01 13:42:59 BST 2012
TOTAL RECORDS TO BE READ FROM EXCEL SHEET IS::65421
Exception---!
java.lang.ArrayIndexOutOfBoundsException: 246

If attempts are made to upload 10K records at a time, usually the first upload will be successful. Subsequent uploads will fail with the following errors:

ERROR
Content-Type: multipart/form-data; boundary=---------------------------7dc2d12b6806ba
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)
Content-Length: 115291
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: FIC_SESSION=8569808376646142465152545157535948; JSESSIONID=qzdDPfhdkQtHhrKhdLn5kjfdCDF2TK0B5WNwh8dP4BfPQGZ9BJTL!-969620581

]] Root cause of ServletException.
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:232)
at java.lang.StringCoding.encode(StringCoding.java:272)
at java.lang.StringCoding.encode(StringCoding.java:284)
at java.lang.String.getBytes(String.java:986)
at com.iflex.fic.etl.excelUpload.ClsUCntETLExcelLoadingOne.ExcelUploadLog(ClsUCntETLExcelLoadingOne.java:702)
Truncated. see log file for complete stacktrace

Attempts were already made to increase Reveleus Server memory settings from 4G to 6G but errors still persist on subsequent uploads.

1. Edit $FIC_APP_HOME/common/FICServer/bin/reveluesstartup.sh script arguments as follow:

 From:
 X_ARGS="-Xms200m"
 X_ARGS=" "$X_ARGS" $DELIM -Xmx4048m"

 To:
 X_ARGS="-Xms200m"
 X_ARGS=" "$X_ARGS" $DELIM -Xmx6144m"

2. Stop the Infrastructure Server:

 $ cd $FIC_APP_HOME/common/FICServer/bin
 $ ./reveleusshutdown.sh

3. Restart the Infrastructure Server:

 $ cd $FIC_APP_HOME/common/FICServer/bin
 $ ./reveleusstartup.sh

The issue can be reproduced at will with the following steps:

1. Attempt to upload a large amount of data from Excel Upload.
2. Not successful with 65K records.
3. Broken into 10K records at a time, first upload is successful then subsequent uploads fail.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms