SAP Knowledge Base Article - Preview

3256120 - Deploy .mtar file in XSA ends with error "Error while retrieving archive entry"

Symptom

When deploy .mtar file it ends with error:
-----------------
com.sap.cloud.lm.sl.common.SLException: Error updating service "<xxx>" from offering "<yyy>" and plan "<zzz>":
com.sap.cloud.lm.sl.common.SLException: Error while retrieving archive entry "xs-security.json"
-----------------

If follow KBA
2487590 How to get deployment logs from XSA
to have deployment log collected, then from MAIN_LOG log can see more detailed error as following:
------------------
com.sap.cloud.lm.sl.common.SLException: Error updating service "<xxx>" from offering "<yyy>" and plan "<zzz>":
com.sap.cloud.lm.sl.common.SLException: Error while retrieving archive entry "xs-security.json"

at com.sap.cloud.lm.sl.cf.process.steps.CreateOrUpdateServicesStep.createOrUpdateServices(CreateOrUpdateServicesStep.java:131) ~[com.sap.cloud.lm.sl.cf.process-1.73.23.jar:?]
......
Caused by: com.sap.cloud.lm.sl.cf.persistence.services.FileStorageException: com.sap.cloud.lm.sl.common.SLException: Error while retrieving archive entry "xs-security.json"
at com.sap.cloud.lm.sl.cf.persistence.services.FileSystemFileStorage.processFileContent(FileSystemFileStorage.java:145) ~[com.sap.cloud.lm.sl.cf.persistence-1.73.23.jar:?]
......
Caused by: com.sap.cloud.lm.sl.common.SLException: Error while retrieving archive entry "xs-security.json"
at com.sap.cloud.lm.sl.mta.handlers.ArchiveHandler.getInputStream(ArchiveHandler.java:57) ~[com.sap.cloud.lm.sl.mta-1.67.8.jar:?]
.......
Caused by: java.util.zip.ZipException: invalid entry CRC (expected 0x<xxx> but got 0x<yyy>)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:394) ~[?:1.8.0_321]
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) ~[?:1.8.0_321]
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140) ~[?:1.8.0_321]
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118) ~[?:1.8.0_321]
at com.sap.cloud.lm.sl.mta.handlers.ArchiveHandler.getInputStream(ArchiveHandler.java:48) ~[com.sap.cloud.lm.sl.mta-1.67.8.jar:?]
at com.sap.cloud.lm.sl.cf.process.steps.CreateOrUpdateServicesStep.lambda$setServiceParameters$17(CreateOrUpdateServicesStep.java:421) ~[com.sap.cloud.lm.sl.cf.process-1.73.23.jar:?]
-----------------


Read more...

Environment

  • SAP HANA Extended Application Services, Advanced model - XSA

Product

SAP HANA, platform edition 2.0

Keywords

install, xs-security.json, MTA deployment, java.util.zip.ZipException, invalid entry CRC, Error while retrieving archive entry , KBA , BC-XS-SL-DS , HANA XS Advanced MTA Deployment Service , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.