Support Article
Unable to import pxDecisionResults
SA-68478
Summary
Unable to import pxDecisionResults.
Error Messages
0000007d SystemOut O [TP_http : 16] [ ] [ ] [ ] ( web.impl.WebStandardImpl) ERROR -: Problem retrieving input data: java.io.IOException: Corrupt form data: premature ending at com.pega.pegarules.web.fileupload.MultipartParser.(MultipartParser.java:212) ~[prwebj2ee.jar:?] at com.pega.pegarules.web.fileupload.MultipartParser.(MultipartParser.java:129) ~[prwebj2ee.jar:?] at com.pega.pegarules.web.fileupload.MultipartRequest.(MultipartRequest.java:186) ~[prwebj2ee.jar:?] at com.pega.pegarules.web.impl.HttpUtilities.fileUpload(HttpUtilities.java:500) ~[prwebj2ee.jar:?] at com.pega.pegarules.web.impl.HttpUtilities.extractRequest(HttpUtilities.java:263) ~[prwebj2ee.jar:?] at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:606) ~[prwebj2ee.jar:?] at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:394) ~[prwebj2ee.jar:?] at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0] at java.lang.reflect.Method.invoke(Method.java:508) ~[?:2.6 (10-13-2016)] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.3.0-77.jar:7.3.0-77] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.3.0-77.jar:7.3.0-77] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) ~[javax.j2ee.servlet.jar:?]
Steps to Reproduce
- Export the pxDecisionResults rule.
- Import the rule to another system with 2.45 GB file.
Root Cause
The file upload limit for Pega application is 2 GB.
Resolution
Perform the following local-change:
Install HFix-42160 (ensure that hadoop-commons-2.7.2.jar and hadoop-auth-2.7.2.jar files are loaded to Pega database using the Import wizard). This allows the use of data flow to import from the source as a dataset of File Repository type and destination as pxDecisionResults.
Perform the below steps:
- Private checkout pyinternal When rule for Data-Admin-File-Repository class and change it to false.
- Create a File Repository which points to the file directory location (either local on the Pega server or the network file location).
- Create the source dataset referencing the file repository created in Step 2.
- Create a data flow with the source dataset created in Step 3 and destination dataset as pxDecisionResults (class name Data-Decision-Results for all the records).
- Create a batch data flow run to run the data flow created in Step 4.
Published November 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.