When setting 'Transfer Threads' higher than 1 in 'FTP' > 'Job Settings' on an Agent 'FTP Integration', jobs fail when transferring multiple files (about 20-30 or more).
The Agent generates a trace when this happens:
20240404/104320.687 - 47 java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.automic.ra.agent.RaUiProcessorImpl.invoke(RaUiProcessorImpl.java:111)
at com.automic.ra.agent.RaUiProcessorImpl.execute(RaUiProcessorImpl.java:79)
at com.uc4.ex.GUIJob.run(GUIJob.java:114)
at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:75)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.automic.agent.ftp.exceptions.DataTransferException: Connection exception.
at com.automic.agent.ftp.transfer.CITFTPImpl.<init>(CITFTPImpl.java:146)
at com.automic.agent.ftp.connections.ConnectionManager$1.run(ConnectionManager.java:89)
... 1 more
Caused by: org.apache.commons.net.MalformedServerReplyException: Could not parse response code.
Server Reply: SSH-2.0-OpenSSH_8.0
at org.apache.commons.net.ftp.FTP.getReply(FTP.java:583)
at org.apache.commons.net.ftp.FTP.getReply(FTP.java:556)
at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:263)
at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:604)
at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:594)
at org.apache.commons.net.SocketClient._connect(SocketClient.java:133)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:268)
at com.automic.agent.ftp.transfer.CITFTPImpl.<init>(CITFTPImpl.java:103)
... 2 more
FTP Integration 21.0.1 or 21.0.0
Defect
The issue is fixed in:
This is the reference for the fix: IG_FTP-67