Excel Upload Not Working and Getting 'Java.io.IOException: Corrupt Form Data: Premature Ending' (Doc ID 1509661.1)

Last updated on APRIL 24, 2017

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

In Oracle Financial Services Analytical Applications (OFSAA) infrastructure 7.3, after upgrading from version 7.2.10, you cannot use the Excel Upload.  After trying to use Excel Upload, you get the following error in the nohup.out file (or Unix console) where Tomcat/Weblogic/Websphere is started:

(from environment with Weblogic)

Mapping_One::::webLocalPath:::/u01/ofsaa/ftpshare/
excel file directory exists
mapping directory exists
/u01/ofsaa/ftpshare/ExcelTemp/OFSAAIDEBUG - skipping cleanup counter=1
<Nov 26, 2012 11:56:30 AM GMT> <Error> <HTTP> <BEA-101019> <[ServletContext@2124032139[app:OFSAA module:OFSAA path:/OFSAA spec-version:2.5]] Servlet failed with IOException
java.io.IOException: Corrupt form data: premature ending
    at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:156)
    at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:83)
    at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:117)
    at jsp_servlet._excelupload.__mapping_one._jspService(__mapping_one.java:448)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    Truncated. see log file for complete stacktrace
>

This error prevents users from running the Excel Upload utility to load data into database tables.

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