WA Agent SFTP job is failing with error "java.io.EOFException"
search cancel

WA Agent SFTP job is failing with error "java.io.EOFException"

book

Article ID: 406614

calendar_today

Updated On:

Products

ESP dSeries Workload Automation - Business Agents (dSeries) ESP dSeries Workload Automation - System Agent (dSeries) ESP dSeries Workload Automation - Scheduler (dSeries) Workload Automation Agent ESP dSeries Workload Automation

Issue/Introduction

When user runs an SFTP job, it fails with java.io.EOFException and completion code 1.

Logs may show following error


20250101 00001234+0400 DE ftp SFTP_JOB/SOMEAPP.1/MAIN STATE FAILED SetEnd Status("java.io.EOFException") Cmpc(1) Plugin(ftp)

Environment

Workload Automation Agent: 12.0 or above

OS: Any

Cause

User that is defined in SFTP jobs lacks permission on the remote server.

Resolution

Login manually to remote server as the user in job and delete or move a file.  Make sure the user has delete / move permission in the same directory that is in the job.  Consult Linux / UNIX admin for more details on how to grant permissions.