Error " Exception reading data for import" when importing site exported from EPP 5.1.1 to EPP 5.2.2

Solution Verified - Updated -


  • JBoss Enterprise Portal Platform (EPP)
    • 5.2.2


We have a site we exported from EPP 5.1.1 and want to import in EPP 5.2.2, but we have the following error when we try this:

ExecuteUploadActionException: gwtupload.server.exceptions.UploadActionException: Exception reading data for import.

How can we solve this error?


Check the exported XML. Some elements that were exported in EPP 5.1.1 aren't expected in EPP 5.2.2. For example, the element <page-body /> in file portal.xml isn't expected as a child of <container> element. It should be a child of element <portal-layout>.

If the page-body isn't bad positioned, it's needed to debug the importing process to find others possible unexpected elements. It can be done by debugging the class

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.