Maximo Application deployment fails with "IWAE0017E Unable to replace original archive" error

Recently we encountered an error while trying to deploy maximo ear and spent good few hours trying to identify the issue. Turns out it was caused due to antivirus either locking the file or not closing the file handle properly. We had to disable all antivirus on the system to solve the issue. During investigation we also found that a similar error could also be caused by a known error for which there is a fixpack in place. https://www.ibm.com/support/pages/apar/PH37152 but this wasn't the issue in our case.

Error:



Below error log was captured in the ffdc log of dmgr profile during Application deployment after clicking Finish.

 [1/27/22 18:16:43:396 GST]     

FFDC Exception:org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException 

SourceId:com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.close 

ProbeId:705 Reporter:java.lang.Class@408414e5

org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: 

IWAE0017E Unable to replace original archive: D:\IBM\WebSphere\AppServer\profiles\ctgDmgr01\wstemp\514564614\upload\maximo_UI.ear



	at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.cleanupAfterTempSave(ArchiveImpl.java:588)

	at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.saveAsNoReopen(ArchiveImpl.java:3410)

	at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.saveNoReopen(ArchiveImpl.java:3430)

	at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.close(ArchiveDeploymentInfo.java:656)

	at com.ibm.websphere.management.application.client.AppDeploymentController.close(AppDeploymentController.java:1123)

	at com.ibm.websphere.management.application.client.AppDeploymentController.saveAndClose(AppDeploymentController.java:1135)

	at com.ibm.ws.console.appmanagement.action.AppInstallSummaryAction.execute(AppInstallSummaryAction.java:119)

	at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)

	at org.apache.struts.action.RequestProcessor.process(Unknown Source)

	at org.apache.struts.action.ActionServlet.process(Unknown Source)

	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1240)

	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)

	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)

	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)

	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)

	at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:971)

	at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:518)

	at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:339)

	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)

	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)

	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)

	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)

	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4198)

	at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)

	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)

	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)

	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)

	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)

	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)

	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)

	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)

	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)

	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)



CapturedDataElements begin

arg0 BEGIN:com.ibm.websphere.management.application.client.ArchiveDeploymentInfo@2ac3255c

com.ibm.websphere.management.application.client.AppDeploymentInfo::tc BEGIN:com.ibm.ejs.ras.TraceComponent@5b20402c

Comments

Popular posts from this blog

BMXAA6713E - The record could not be retrieved from the database. Error

Rebuilding Maximo Text Indexes due to Query performance issues

List of things checked by Maximo Integrity checker