Symptom
Software Update Manager (SUM) throws the below error in the step DEPLOY-SDM (Logfile: <Path to SUM>/SUM/sdt/log/SUM/DEPLOY-SDM_XX.LOG)
Jan 9, 2017 12:54:43 PM [Info ]: Auto-updating SDM server...
Jan 9, 2017 12:54:43 PM [Info ]: AS Java process ID 10 has been started.
Jan 9, 2017 12:54:43 PM [Info ]: Command line: <JAVA_HOME>\bin\java.exe -Djava.ext.dir=<Path to SUM>\SUM\sdt\tmp\unpack_SDMKit\/libs -cp . -jar <Path to SUM>\SUM\sdt\tmp\unpack_SDMKit\SDM.jar autoupdate sdmHome=<DRIVE:\>usr\sap\<SID>\<Instance>\SDM\program ignoreversion=true popDir=<Path to SUM>\SUM\sdt\tmp\unpack_SDMKit\
Jan 9, 2017 12:54:43 PM [Info ]: Standard out: <Path to SUM>\SUM\sdt\log\SUM\OPERATESDM_XX.OUT
Jan 9, 2017 12:54:43 PM [Info ]: Process ID 10 has been started.
Jan 9, 2017 12:54:43 PM [Info ]: Waiting for process ID 10, name java.exe to finish.
Jan 9, 2017 12:55:46 PM [Info ]: Process ID 10, name java.exe has been finished, exit code 4.
Jan 9, 2017 12:55:46 PM [Info ]: Process ID 10, name java.exe has been terminated.
Jan 9, 2017 12:56:46 PM [Error ]: Return code condition success evaluated to false for process java.exe for action ACTION_AUTO_UDPATE.
Jan 9, 2017 12:56:46 PM [Error ]: Cannot execute Java process for autoUpdate.
Jan 9, 2017 12:56:46 PM [Error ]: Could not auto-update SDM server.
Jan 9, 2017 12:56:46 PM [Error ]: Cannot update SDM tool.
Jan 9, 2017 12:56:46 PM [Info ]: Deployment message for component SAP_JAVASL : Cannot update SDM tool.
Could not auto-update SDM server.
Cannot execute Java process for autoUpdate.
Return code condition success evaluated to false for process java.exe for action ACTION_AUTO_UDPATE.
The below error is observed in the <Path to SUM>/SUM/sdt/log/SUM/OperateSDM_XX.OUT
Jan 9, 2017 12:55:37 PM Info: Switch temporary to active and active to backup directory structure...
Jan 9, 2017 12:55:37 PM Info: bin
Jan 9, 2017 12:55:37 PM Info: lib
Jan 9, 2017 12:55:39 PM Error: Switch of directory lib failed
Jan 9, 2017 12:55:39 PM Error: Error during switch of directory structure
Jan 9, 2017 12:55:39 PM Error: Close all applications (for example command prompts and file browsers) running in directory <DRIVE:\>usr\sap\<SID>\<Instance>\SDM\program and below, then restart the SDM update.
Jan 9, 2017 12:55:39 PM Error: Error during update of SDM on <DRIVE:\>usr\sap\<SID>\<Instance>\SDM\program
Jan 9, 2017 12:55:39 PM Error: Processing error. Return code: 4
Read more...
Environment
Update of AS JAVA with target < 7.1 with SUM in Windows Environment
Product
Keywords
deploy-sdm, ACTION_AUTO_UDPATE, autoUpdate, SAP_JAVASL,"Cannot update SDM tool", lib, "Switch of directory lib failed", "Error during switch of directory structure" , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CTS-SDM , Software Delivery Manager for Java , 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.
SAP Knowledge Base Article - Preview