Fixes are available
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.5.5.1: WebSphere Application Server V8.5.5 Fix Pack 1
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
APAR status
Closed as program error.
Error description
A SaveFailureException occurs with a duplicate entry error during update attempt to add a module, when the module matches an existing non module file. . Client attempts to perform a partial install / deployment of an application using the Administrative Console to update => add a single module file that fails with the following error in the SystemErr.log on the Dmgr because the file already exists in the ear as a non module file. ------------------------------------------------------------- [9/27/12 17:15:15:465 CDT] 00000131 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImp l.java:294) [9/27/12 17:15:15:465 CDT] 00000131 SystemErr R at java.lang.Thread.run(Thread.java:736) [9/27/12 17:32:07:811 CDT] 00000183 SystemErr R org.eclipse.jst.j2ee.commonarchivecore.internal.exception. SaveFailureException: TestServices.war Stack trace of nested exception: java.util.zip.ZipException: duplicate entry: TestServices.war at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java: 186) at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy. ZipStreamSaveStrategyImpl.prepareEntry (ZipStreamSaveStrategyImpl.java:447) ~~~ org.eclipse.jst.j2ee.commonarchivecore.internal.impl. ModuleFileImpl.save (ModuleFileImpl.java:497) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl .saveAsNoReopen(ArchiveImpl.java:2907) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl .saveAs(ArchiveImpl.java:2727) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl .save(ArchiveImpl.java:2642) at com.ibm.ws.management.application.task.FileMergeTask.update (FileMergeTask.java:345) at com.ibm.ws.management.application.task.FileMergeTask.performTask (FileMerggeTask.java:147) ---------------------------------------------------------------- Errors written to Admin Console: ================================ ADMA5065E: Exception in FileMergeTask org.eclipse.jst.j2ee.commonarchive.internal.exception.SaveFailur eException: TestServices.war. . ADMA0185W: An update application operation failed and the configuration session could not be restore to its state before the operation was initiated. The configuration session is in an inconsistent state, and changes made in the session should be discarded. ================================================================ Client environment: WSAS ND FixPack 7.0.0.21 level
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: A SaveFailureException showing a * * duplicate entry error occurs when an * * update replaces a non-module file * * with a module file. * **************************************************************** * RECOMMENDATION: * **************************************************************** A SaveFailureException occurs when attempting to perform a partial installation of an application using the Administrative console and using the "Add a single module file" option, when a file already exists in the application and has the same name as the new module. The exception shows a nested ZipException showing the text "duplicate entry", followed by the name of the new module file. For example, with the module name "Test.war", the following exception text is generated: [9/27/12 17:15:15:465 CDT] 00000131 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImp l.java:294) [9/27/12 17:15:15:465 CDT] 00000131 SystemErr R at java.lang.Thread.run(Thread.java:736) [9/27/12 17:32:07:811 CDT] 00000183 SystemErr R org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFa ilureException: TestServices.war Stack trace of nested exception: java.util.zip.ZipException: duplicate entry: Test.war at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java: 186) at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipStre amSaveStrategyImpl.prepareEntry(ZipStreamSaveStrategyImpl.java:4 47) In addition, the exception stack will show calls through commonarchive save methods: org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileI mpl.save(ModuleFileImpl.java:497) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl .saveAsNoReopen(ArchiveImpl.java:2907) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl .saveAs(ArchiveImpl.java:2727) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl .save(ArchiveImpl.java:2642) at com.ibm.ws.management.application.task.FileMergeTask.update(File MergeTask.java:345) at com.ibm.ws.management.application.task.FileMergeTask.performTask (FileMerggeTask.java:147) The problem occurs because application update code does not properly handle the case of a new module overwriting an existing non-module file.
Problem conclusion
The application update code was corrected to properly handle the case of a new module overwriting an existing non-module file. The fix for this APAR is currently targeted for inclusion in fix packs 7.0.0.31, 8.0.0.7, and 8.5.5.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM77458
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-11-20
Closed date
2013-05-20
Last modified date
2013-07-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R700 PSY
UP
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
11 January 2022