Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more

'Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: JAXP00010004' error when migrating an application to a higher version

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

'Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: JAXP00010004' error when migrating an application to a higher version

Last Update:

Feb 9, 2024 1:22:49 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:20:07 AM

Problem Description

While migrating a Talend application to a higher version, after the backup is complete and the migration action starts, the following error is observed:

Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: JAXP00010004: The accumulated size of entities is "50,000,001" that exceeded the "50,000,000" limit set by "FEATURE_SECURE_PROCESSING".

0693p000008u9ldAAA.jpg

 

Root Cause

It is an implementation limit from the Java side related to the XML. The key and value tuples are listed in the ListResourceBundle class where the TotalEntitySizeLimit is, by default, set to 50,000,000.

 

Solution

In Linux, add the following in the Catalina.sh file for the JAVA_OPTS:

JAVA_OPTS="$JAVA_OPTS -DentityExpansionLimit=2147480000 
-DtotalEntitySizeLimit=2147480000
-Djdk.xml.totalEntitySizeLimit=2147480000"

 

In Windows, add the following in the setenv.bat file under the apache-tomcat/bin folder of the TAC installation:

JAVA_OPTS="$JAVA_OPTS -DentityExpansionLimit=2147480000 
-DtotalEntitySizeLimit=2147480000
-Djdk.xml.totalEntitySizeLimit=2147480000"
Version history
Last update:
‎2024-02-09 01:22 PM
Updated by: