I have a server installed with Websphere Portal 22.214.171.124. I have deployed all the web modules (via WAR files), configured all the pages, put the required portlets on the pages. I then wanted to do a full transfer of the configuration to my local portal, so I followed the instructions in this document:
(The instructions are found when you click on the Transferring a Complete Configuration link.) I followed the instructions and the transfer completed successfully.
The issue I have is now when I try and publish my Web Experience Factory 7.0.1 projects to my local portal, I get the following error messages:
com.ibm.wps.command.xml.XmlCommandException: EJPXA0043E: An error occurred while creating or updating the resource. http://web-app Z1_6VKQHPN618LOE0IDSVI75A24B2 uid=com.bowstreet.portlet.WebAppRunner2_Demand.webmod
com.ibm.wps.command.applications.AppDeployException: EJPPD0031E: It is not allowed to update the deployed WAR file PA_Demand.war with the predeployed EAR file /C:/WebSphere/wp_profile/installedApps/TLP5180161N1/Demand.ear/Demand.war. The error occurred in command UpdateWebApplication.
What do I need to change to be able to test/run from Web Experience Factory again?
Pinned topic Publish applications from Web Experience Factory 7.0.1 error message
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-11T20:24:17Z at 2012-05-11T20:24:17Z by SystemAdmin
kevintap 100000QN03111 Posts
Re: Publish applications from Web Experience Factory 7.0.1 error message2012-04-21T13:21:21ZThis is the accepted answer. This is the accepted answer.This error is caused because you have duplicate IDs between two different .ear/.war files in the system. When you transferred your configuration, it copied the application PA_Demand.war into your local portal. The designer is building a new application Demand.ear/Demand.war using the same IDs (portlet-app id) as the already deployed PA_Demand.war.
In order to be able to publish from the designer again, you'll need to go into the WAS Admin Console and uninstall the PA_Demand.war application.
Tim_L 060000N5T112 Posts
Re: Publish applications from Web Experience Factory 7.0.1 error message2012-04-23T15:48:42ZThis is the accepted answer. This is the accepted answer.
- kevintap 100000QN03
It almost seems like when I publish from WEF it can't marry up the fact that Demand is one in the same as PA_Demand, and therefore overwrite it.
One other thought I had was to generate a WAR file for production deployment from WEF and update the PA_Demand in Portal with that file. Any thoughts if that will accomplish what I'm trying to do?
SystemAdmin 110000D4XK1493 Posts
Re: Publish applications from Web Experience Factory 7.0.1 error message2012-05-11T20:24:17ZThis is the accepted answer. This is the accepted answer.
- Tim_L 060000N5T1
In the future I wouldn't recommend copying the configuration as you did if you still want to publish the application from the designer.
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM