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".
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: