CA Automic Workload Automation connection error on RA-FTP Agent
search cancel

CA Automic Workload Automation connection error on RA-FTP Agent

book

Article ID: 92650

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

For some SFTP Filetransfer Objects / Connection Objects the RA FTP solution in combination with the Automic Web Interface (AWI) cannot represent the target folder structure.

In the Logfile of the AWI the following error can be found:
ajp-nio-8009-exec-3    [ERROR] ENTW:1/ABC/DEF NOUI 0000000001103105  [controls.messageprovider.MessageProvider] - Error message shown to user: 

java.lang.RuntimeException: java.lang.RuntimeException:  com.uc4.ftpjob.DataTransferException: 

Could not communicate with Connection CONN.FTPAGENT.XYZ using Agent RA_XYZ. Please check the settings.

com.automic.ecc.ae.sheet.ra.commons.agent.RaAgentException: java.lang.RuntimeException: java.lang.RuntimeException:  com.uc4.ftpjob.DataTransferException: 

                at com.automic.ecc.ae.sheet.ra.commons.agent.AgentProxyFactory.lambda$createProxy$24(AgentProxyFactory.java:17)
                at com.sun.proxy.$Proxy134.ftpListDirectory(Unknown Source)
                at com.automic.ecc.ae.sheet.ra.ftp.agentformrequest.FTPObjectProvider.fetchListing(FTPObjectProvider.java:165)
                at com.automic.ecc.ae.sheet.ra.ftp.agentformrequest.FTPObjectProvider.getListing(FTPObjectProvider.java:153)
                at com.automic.ecc.ae.sheet.ra.commons.remotefilepicker.RemoteFile.getFileChildren(RemoteFile.java:88)
                at com.automic.ecc.ae.sheet.ra.commons.remotefilepicker.FileTableController.load(FileTableController.java:37)
                at com.automic.ecc.ae.sheet.ra.commons.remotefilepicker.FileTableController.load(FileTableController.java:11)
                at com.uc4.ecc.framework.commons.controls.datatable.BaseDataTableController$2.loadWithNullOrEmptyAsDefault(BaseDataTableController.java:111)
                at com.uc4.webui.common.async.EmptyCollectionOrNullAsDefaultLoader.load(EmptyCollectionOrNullAsDefaultLoader.java:12)
                at com.uc4.webui.common.async.EmptyCollectionOrNullAsDefaultLoader.load(EmptyCollectionOrNullAsDefaultLoader.java:6)
                at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:223)
                at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72)
                at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:  com.uc4.ftpjob.DataTransferException: 

                at com.automic.ecc.ae.sheet.ra.commons.agent.RaAgentConnection.execute(RaAgentConnection.java:45)
                at com.automic.ecc.ae.sheet.ra.commons.agent.AgentProxyFactory.lambda$createProxy$24(AgentProxyFactory.java:15)
                ... 15 common frames omitted
Caused by: java.lang.RuntimeException:  com.uc4.ftpjob.DataTransferException: 

                at com.uc4.ftpjob.commands.SFtpCommandImpl.listDirectory(SFtpCommandImpl.java:399)
                at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.listDirectory(FtpFacadeCommandImpl.java:219)
 

<Please see attached file for image>

User-added image

 

Environment

Windows Cerberus SFTP Server

Cause

A problem has been fixed where the Automic Web Interface (AWI) reports an error when using the file browser on Cerberus SFTP server connections. The AWI panels of the FTP solution now allow the file browser to be used in connections to a Windows Cerberus SFTP server with disabled SSH connection set.

Resolution

Update to a fix version listed below or a newer version if available.

Component(s):
RA FTP Solution

Fix Version(s):
RA FTP 4.0.5 - already released

Additional Information

In the Trace file (generated with activated ra=9 trace flags) of the RA-FTP Agent the following error can be found:
 
20171024/081755.939 - 443    pool-1-thread-53: SFtpCommandImpl: start: listDirectory(): path: 
20171024/081755.941 - 443    pool-1-thread-53: FtpFacadeCommandImpl: StackTrace: com.uc4.ftpjob.DataTransferException: 
	at com.uc4.ftpjob.commands.SFtpCommandImpl.listDirectory(SFtpCommandImpl.java:399)
	at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.listDirectory(FtpFacadeCommandImpl.java:219)
	at com.uc4.ftpjob.commands.IFtpCommands$listDirectory.call(Unknown Source)
	at FtpAgentImpl.ftpListDirectory(FtpAgent.groovy:137)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:107)
	at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:54)
	at com.uc4.ex.cit.CITJob.executeFormsRequest(CITJob.java:328)
	at com.uc4.ex.cit.CITJob.execute(CITJob.java:179)
	at com.uc4.ex.GUIJob.run(GUIJob.java:110)
	at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)

20171024/081755.948 - 443    ----------------------- Stack Trace -----------------------
20171024/081755.948 - 443    java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:107)
	at com.uc4.be.util.InvokeUtil.invoke(InvokeUtil.java:54)
	at com.uc4.ex.cit.CITJob.executeFormsRequest(CITJob.java:328)
	at com.uc4.ex.cit.CITJob.execute(CITJob.java:179)
	at com.uc4.ex.GUIJob.run(GUIJob.java:110)
	at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.uc4.ftpjob.DataTransferException: Error executing list directory. 
	at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.throwDataException(FtpFacadeCommandImpl.java:57)
	at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.listDirectory(FtpFacadeCommandImpl.java:222)
	at com.uc4.ftpjob.commands.IFtpCommands$listDirectory.call(Unknown Source)
	at FtpAgentImpl.ftpListDirectory(FtpAgent.groovy:137)
	... 15 more
Caused by: com.uc4.ftpjob.DataTransferException: 
	at com.uc4.ftpjob.commands.SFtpCommandImpl.listDirectory(SFtpCommandImpl.java:399)
	at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.listDirectory(FtpFacadeCommandImpl.java:219)
	... 17 more

20171024/081755.950 - 443    
20171024/081755.950 - 443    --------- Location from where the trace was called --------
20171024/081755.951 - 443    java.lang.Exception: Log Stack
	at com.uc4.ex.logging.LogService.forcedTrace(LogService.java:482)
	at com.uc4.ex.logging.LogService.log(LogService.java:423)
	at com.uc4.ex.logging.LogService.log(LogService.java:614)
	at com.uc4.ex.cit.CITJob.executeFormsRequest(CITJob.java:331)
	at com.uc4.ex.cit.CITJob.execute(CITJob.java:179)
	at com.uc4.ex.GUIJob.run(GUIJob.java:110)
	at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)

20171024/081755.952 - 443    
20171024/081755.952 - 443    ----------------------- Thread Info -----------------------
20171024/081755.952 - 443    Current number of live threads including both daemon and non-daemon threads: 6
20171024/081755.953 - 443    IDs of threads that are monitor deadlocked: NONE
20171024/081755.953 - 443    Peak live thread count: 12
20171024/081755.953 - 443    Thread CPU time supported: true
20171024/081755.953 - 443    Thread CPU time enabled: true
20171024/081755.953 - 443    Thread 443 (pool-1-thread-53) used 2.3595343min cpu time
20171024/081755.954 - 443    Thread 440 (pool-1-thread-50) used 3.158637min cpu time
20171024/081755.954 - 443    Thread 4 (Attach Listener) used 4.4732666min cpu time
20171024/081755.954 - 443    Thread 3 (Finalizer) used 4.762435min cpu time
20171024/081755.954 - 443    Thread 2 (Reference Handler) used 8.189454min cpu time
20171024/081755.954 - 443    Thread 1 (main) used 2.3166757min cpu time
20171024/081755.955 - 443    Information about the thread which used most of the CPU time:
20171024/081755.955 - 443    Thread name: main
20171024/081755.955 - 443    Is in native: false
20171024/081755.955 - 443    Blocked count: 7
20171024/081755.955 - 443    Blocked time: -1
20171024/081755.955 - 443    Lock name: java.lang.Object@7b24e512
20171024/081755.956 - 443    Lock owner id: -1
20171024/081755.956 - 443    Lock owner name: null
20171024/081755.956 - 443    Waited count: 5941017
20171024/081755.956 - 443    Waited time: -1
20171024/081755.956 - 443    Stack Trace: 
20171024/081755.956 - 443    java.lang.Object.wait(Native Method)
20171024/081755.956 - 443    com.uc4.ex.ExecutorLifecycle.waitForEvent(ExecutorLifecycle.java:307)
20171024/081755.956 - 443    com.uc4.ex.ExecutorLifecycle.execute(ExecutorLifecycle.java:130)

Attachments

1558703144280000092650_sktwi1f5rjvs16l7o.png get_app