microsoft / vsts-ibm-websphere-extension

VSTS Extension to integrate with IBM WebSphere Application Server
Other
8 stars 16 forks source link

Unable to install war file in Websphere #16

Open bayernmunich opened 5 years ago

bayernmunich commented 5 years ago

Hi yacaovsnc, Hope you are doing good.

trying to install war file on WebSphere. We are getting below issue. Attached logs and Screenshot for the same. error task

WASX7015E: Exception running command: "AdminApp.install('D:/KMBLAgent/_work/r31/a/_KOTAKPG_PROD-Maven-CI (19)/drop/Kotakpg/target/kotakpg-0.0.1-SNAPSHOT.war', '[-appname kotakpg-0.0.1-SNAPSHOT_war -node Node_PG_GBM -server PG -cell Dmgr1_Cell -MapWebModToVH [["PaymentGateway" "kotakpg-0.0.1-SNAPSHOT.war,WEB-INF/web.xml" "default_host"]] -contextroot pgvsts ]'); AdminConfig.save(); appManager = AdminControl.queryNames('cell=Dmgr1_Cell,node=Node_PG_GBM,type=ApplicationManager,process=PG,*'); AdminControl.invoke(appManager, 'startApplication', 'kotakpg-0.0.1-SNAPSHOT_war');"; exception information: com.ibm.websphere.management.application.client.AppDeploymentException: com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: IWAE0017E Unable to replace original archive: C:\Users\Administrator\AppData\Local\Temp\2\kotakpg-0.0.1-SNAPSHOT_war1684b24a85f.ear] org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: IWAE0017E Unable to replace original archive: C:\Users\Administrator\AppData\Local\Temp\2\kotakpg-0.0.1-SNAPSHOT_war1684b24a85f.ear

[error]Error: C:\Program Files (x86)\IBM\WebSphere\AppServer\bin\wsadmin.bat failed with return code: 103

websphere_error.log

yacaovsnc commented 5 years ago

[Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: IWAE0017E Unable to replace original archive: C:\Users\Administrator\AppData\Local\Temp\2\kotakpg-0.0.1-SNAPSHOT_war1684b24a85f.ear]

This is the root cause, it seems a permission issue?