SFTP_JAVA fails when part of a process flow
search cancel

SFTP_JAVA fails when part of a process flow

book

Article ID: 89159

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

SFTP_JAVA fails when part of a process flow

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

Resolution

Symptoms

I see the following error in the RmiServer log when a SFTP_JAVA job is run in a process flow.

2013-03-21 12:52:54 Prompt 7 changed from "EPS_CAMPHIST{#MKT_CAMPHIST_597}_*.ctl.pgp" to "EPS_CAMPHIST_20130320_*.ctl.pgp" by OSU=AppWorx JDBC Thin Client
2013-03-21 12:52:54 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
2013-03-21 12:58:18 PREPROCESS_COMPLETION 03/21/2013 12:58:18
Job Launch timed out {CSCPAPPWRX01-JDBC Thin Client} at 2013-03-21 12:58:18
2013-03-21 13:12:42 status action QUEUED by ARD
2013-03-21 13:12:44 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
2013-03-21 13:18:18 PREPROCESS_COMPLETION 03/21/2013 13:18:18
Job Launch timed out {CSCPAPPWRX01-JDBC Thin Client} at 2013-03-21 13:18:18


Cause

The login for the SFTP_JAVA doesn't match prompt #1 in the SFTP_JAVA job "Remote Machine Userid"


Resolution

Edit he SFTP_JAVA job, and make prompt #1 the same as the login name in Logins. If the login name in Logins ends with an @ symbol leave it off in the login prompt for the job. This only applies to process flows that contain ftp_java jobs.