IBM Support

Importing a Release to a Virtual Portal fails with EJPXA0001E

Troubleshooting


Problem

The virutal portal was not properly prepared to accept this import.

Symptom

Importing a full release (generated by XMLAccess/ExportRelease.xml) into a virtual portal fails. The XMLAccess output contains:

<status element="unknown" result="failed"> 
       <message id="EJPXA0001E">com.ibm.wps.command.xml.XmlCommandException: EJPXA0001E: An error occurred while processing the XML configuration request. unknown</message>
 
       <message>java.lang.NullPointerException</message>
 
</status>

Resolving The Problem

A virtual portal must be empty to accept the import of a full release. Administrators cannot rely on the ConfigEngine task empty-portal to empty virtual portals. To properly prepare the virtual portal to accept a release:

1. Delete the virtual portal.

2. (Optional: if you intend to import a release of the base portal as well) Empty the base portal.
3. Run Task.xml and verify that it completes.

4. (Optional, if you followed step 2) Import the base portal release.

5. Create an empty virtual portal with the create-virtual-portal task.

6. Import the virtual portal release to the virtual portal configuration URL (<protocol://host:port>/wps/config/<URL context of the virtual portal> by default).

[{"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
03 December 2021

UID

swg21398677