SAP Knowledge Base Article - Preview

3343193 - ERROR: "java.lang.IllegalArgumentException: File parameter 'destFile is not writable" occurs during agent installation right after its uninstallation - SAP Cloud Integration for Data Services

Symptom

  • After uninstalling agent then reinstalling it, agent reinstallation failed.
  • Following errors can be found in DSOnPremiseAgent log:
    ERROR: java.lang.IllegalArgumentException: File parameter 'destFile is not writable: 'xxx\xxx\xxx\Uninstall.bat'
        org.apache.commons.io.FileUtils.requireCanWrite(FileUtils.java:2619)
        org.apache.commons.io.FileUtils.copyFile(FileUtils.java:846)
        org.apache.commons.io.FileUtils.copyFile(FileUtils.java:783)
        org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:926)
        org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:897)
        com.sap.im.dsod.agentinstaller.action.ActionInstallFiles.installFilesWin(ActionInstallFiles.java:248)
        com.sap.im.dsod.agentinstaller.action.ActionInstallFiles.execute(ActionInstallFiles.java:102)
        com.sap.im.dsod.agentinstaller.action.InstallHandler.execute(InstallHandler.java:484)
        com.sap.im.dsod.agentinstaller.action.InstallHandler.run(InstallHandler.java:590)


Read more...

Environment

SAP Cloud Integration for Data Services

Product

SAP Cloud Integration for data services 1.0

Keywords

agent, installation, uninstallation, %LINK_DIR%, IllegalArgumentException, destFile, writable, uninstall.bat , KBA , LOD-HCI-DS-AGNT , On-Premise Agent, Connectivity, Task Run errors , 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.