Page tree
Skip to end of metadata
Go to start of metadata

Problem

Deployment fails with "SduReaderException."

Keywords

• File permissions
• corrupted archive
• update/upgrade

Symptoms

Deployment  fails deployment with :
"com.sap.engine.services.dc.util.readers.sdu_reader.SduReaderException:"

Solution

  • Check the failed archive intended for deployment (when an upgrade or update is performed the archives can be found in /usr/sap/trans/EPS/in ) for: 
  1. Corrupted archive (with any zip/unzip tool).The failed file could be found in /usr/sap/(SID)/(INSTANCE)/work/deploy.X.trc for faster check.
  2. If the SIDadm (the os user created to operate with the engine ) has permissions to read/write/execute these files

Sample logs

Reason: null
	at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:862)
	at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)
	at com.sap.sdt.j710.deploymentmgr.DeploymentManagerImpl.deployList(DeploymentManagerImpl.java:354)
	at com.sap.sdt.j2ee.tools.deploymentmgr.AbstractDeploymentManager.deployDeploymentUnits(AbstractDeploymentManager.java:357)
	at com.sap.sdt.jspm.deployment.deploy.DeploymentManager.deployDeployableUnits(DeploymentManager.java:2041)
	at com.sap.sdt.jspm.deployment.deploy.DeploymentManager.deployComponents(DeploymentManager.java:4128)
	at com.sap.sdt.jspm.service.JspmService.updateComponents(JspmService.java:1506)
	at com.sap.sdt.jspm.service.JspmService.updateComponents(JspmService.java:1464)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sap.sdt.executor.step.StepExecutor.executeStep(StepExecutor.java:185)
	at com.sap.sdt.executor.module.ModuleExecutor.executeModule(ModuleExecutor.java:104)
	at com.sap.sdt.executor.action.ActionExecutor.executeModule(ActionExecutor.java:349)
	at com.sap.sdt.executor.action.ActionExecutor.executeAction(ActionExecutor.java:84)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeOrRevokeRegularAction(UseCaseExecutor.java:528)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeActionInternal(UseCaseExecutor.java:431)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeAction(UseCaseExecutor.java:406)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeActionInRoadmapStep(UseCaseExecutor.java:270)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeRoadmapStepAction(UseCaseExecutor.java:242)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeRoadmapStepActions(UseCaseExecutor.java:226)
	at com.sap.sdt.executor.usecase.UseCaseExecutor.executeRoadmapStep(UseCaseExecutor.java:194)
	at com.sap.sdt.lup.usecase.UseCaseRequestHandler.execute(UseCaseRequestHandler.java:271)
	at com.sap.sdt.dsu.handler.DSURequestHandlerWrapper.execute(DSURequestHandlerWrapper.java:78)
	at com.sap.sdt.lup.ctrl.handler.SDTRequestHandlerMethodInvocator.doOperation(SDTRequestHandlerMethodInvocator.java:163)
	at com.sap.sdt.lup.ctrl.SDTRequestExecutor.invokeMethod(SDTRequestExecutor.java:225)
	at com.sap.sdt.lup.ctrl.SDTRequestExecutor.run(SDTRequestExecutor.java:329)
Caused by: com.sap.engine.services.dc.cm.deploy.SduLoadingException
	at com.sap.engine.services.dc.cm.deploy.impl.SduLoader.load(SduLoader.java:76)
	at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.loadArchives(DeployerImpl.java:769)
	at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:186)
	at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
	at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
	at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
	at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
	at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
	at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:877)
	at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
	at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
	at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
	at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
Caused by: com.sap.engine.services.dc.util.readers.sdu_reader.SduReaderException: <--Localization failed: ResourceBundle='com.sap.engine.services.dc.util.exception.resources.ResourceBundle', ID='Exception occured during extractSingleFile: Unexpected end of ZLIB input stream', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception occured during extractSingleFile: Unexpected end of ZLIB input stream
	at com.sap.engine.services.dc.util.readers.sdu_reader.impl.ScaFileExtractor.extractFiles(ScaFileExtractor.java:76)
	at com.sap.engine.services.dc.util.readers.sdu_reader.impl.ScaFileExtractor.extract(ScaFileExtractor.java:60)
	at com.sap.engine.services.dc.util.readers.sdu_reader.impl.ScaLocationBuilder.build(ScaLocationBuilder.java:79)
	at com.sap.engine.services.dc.util.readers.sdu_reader.impl.ScaLocationBuilder.build(ScaLocationBuilder.java:51)
	at com.sap.engine.services.dc.util.readers.sdu_reader.impl.SduReaderImpl.buildSduLocation(SduReaderImpl.java:110)
	at com.sap.engine.services.dc.util.readers.sdu_reader.impl.SduReaderImpl.read(SduReaderImpl.java:60)
	at com.sap.engine.services.dc.cm.deploy.impl.SduLoader.load(SduLoader.java:66)
	... 12 more
  • No labels