Download
Abstract
Partial update does not update the application correctly.
Download Description
PK79287 resolves the following problem:
ERROR DESCRIPTION:
Partial application update does not update the application correctly.
1. Create a partial zip update to add a file, update a file and remove an existing file, for example add a/b/foo.xml, update test.xml, delete dummy.txt .
2. Run application update partial.
3. The application is updated in the configuration, but the expanded binaryURL location did not get updated correctly.
Delta file contents show the following:
<?xml version="1.0" encoding="UTF-8"?><app-delta>
<change_input changetype="fg-update" contenttype="partialapp"
operation="update"/>
<files>
<file operation="update" uri="a/b/foo.xml"/>
<file operation="update" uri="test.xml"/>
</files>
</app-delta>
where it should be:
<?xml version="1.0" encoding="UTF-8"?><app-delta>
<change_input changetype="fg-update" contenttype="partialapp"
operation="update"/>
<files>
<file operation="add" uri="a/b/foo.xml"/>
<file operation="update" uri="test.xml"/>
<file operation="delete" uri="dummy.txt"/>
</files>
</app-delta>
Note that foo.xml was not added and test.xml was not deleted, This was wrong.
LOCAL FIX:
PROBLEM SUMMARY:
USERS AFFECTED:
Users of IBM WebSphere Application Server V7.0 doing a partial update of web services application.
PROBLEM DESCRIPTION:
Partial update does not update the application correctly.
RECOMMENDATION:
None
After partial update, the delta file shows operation="update" when a new file is added and doesn't show operation="delete" when a file is deleted. In addition, the application from the expand binary URL location (that is, installedApps) is not updated correctly.
PROBLEM CONCLUSION:
In ServiceIndexServerTask, it called CommonUtil.getMergeEar to merge the ear file. This should not be called because at this point, the appmgmt framework already merged the ear. The extra getMergetMergeEar causes multiple updates and results in an incorrect application ear file after update.
The fix is to remove the getMergeEar call in ServiceIndexServerTask.
The fix for this APAR is currently targeted for inclusion in fixpack 7.0.0.3. Please refer to the recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
Please download the UpdateInstaller below to install this fix.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24023059