Hide Forgot
Date of First Response: 2009-01-06 12:57:48 project_key: SOA I have tried two different ftp servers, in both cases I'm seeing "Can't retrieve file list" error, but the root cause is different in each case. trying manually the command works fine: Command: LIST Response: 150 Here comes the directory listing. Response: 226 Directory send OK. 2009-01-06 11:31:32,362 ERROR [org.jboss.soa.esb.listeners.gateway.AbstractFileGateway] Can't retrieve file list org.jboss.soa.esb.listeners.gateway.GatewayException: org.jboss.soa.esb.util.RemoteFileSystemException: EdtFtpImpl can't list *.dat due to: [425] Failed to establish connection. at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:193) at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.onSchedule(AbstractFileGateway.java:111) at org.jboss.soa.esb.listeners.lifecycle.AbstractScheduledManagedLifecycle$1.onSchedule(AbstractScheduledManagedLifecycle.java:68) at org.jboss.soa.esb.schedule.SchedulerJob$ESBScheduledJob.execute(SchedulerJob.java:289) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: org.jboss.soa.esb.util.RemoteFileSystemException: EdtFtpImpl can't list *.dat due to: [425] Failed to establish connection. at org.jboss.internal.soa.esb.util.EdtFtpImpl.getFileListFromRemoteDir(EdtFtpImpl.java:381) at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:183) ---------------------------------------------------------------- 2009-01-06 11:20:53,710 ERROR [org.jboss.soa.esb.listeners.gateway.AbstractFileGateway] Can't retrieve file list org.jboss.soa.esb.listeners.gateway.GatewayException: org.jboss.soa.esb.util.RemoteFileSystemException: com.enterprisedt.net.ftp.FTPException: Failed to change directory. at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:193) at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.onSchedule(AbstractFileGateway.java:111) at org.jboss.soa.esb.listeners.lifecycle.AbstractScheduledManagedLifecycle$1.onSchedule(AbstractScheduledManagedLifecycle.java:68) at org.jboss.soa.esb.schedule.SchedulerJob$ESBScheduledJob.execute(SchedulerJob.java:289) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: org.jboss.soa.esb.util.RemoteFileSystemException: com.enterprisedt.net.ftp.FTPException: Failed to change directory. at org.jboss.internal.soa.esb.util.EdtFtpImpl.setRemoteDir(EdtFtpImpl.java:611) at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:182) ... 5 more Caused by: com.enterprisedt.net.ftp.FTPException: Failed to change directory. at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:923) at com.enterprisedt.net.ftp.FTPClient.chdir(FTPClient.java:2542) at org.jboss.internal.soa.esb.util.EdtFtpImpl.setRemoteDir(EdtFtpImpl.java:602) ... 6 more
Hey Jehudi, I can run the quickstart successfully with a local FTP server (RHEL5, 4.2 CP03 CR5, vsftpd): 12:54:18,977 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 12:54:18,977 INFO [STDOUT] Body: Hello World In A File (for static router test) - to file with suffix=.01FromRouter 12:54:18,977 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 12:54:19,287 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 12:54:19,287 INFO [STDOUT] Body: Hello World In A File (for static router test) - to file with suffix=.02FromRouter 12:54:19,287 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 12:54:19,392 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 12:54:19,392 INFO [STDOUT] Body: Hello World In A File (for static router test) - to file with suffix=.03FromRouter 12:54:19,392 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& But - I'm having problems with the ftp server on reports.qa.atl.jboss.com - the QS is able to create the StaticRouter.dat file, but the listeners never see it. Which ftp servers are you using? (Can you also attach the full server.log? Thanks... ;-)
Just worked for me using reports.qa.atl.jboss.com 2009-01-07 11:40:31,450 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 2009-01-07 11:40:31,450 INFO [STDOUT] Body: Hello World In A File (for static router test) - to file with suffix=.01FromRouter 2009-01-07 11:40:31,450 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 2009-01-07 11:40:31,451 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 2009-01-07 11:40:31,451 INFO [STDOUT] Body: Hello World In A File (for static router test) - to file with suffix=.03FromRouter 2009-01-07 11:40:31,451 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 2009-01-07 11:40:31,455 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 2009-01-07 11:40:31,455 INFO [STDOUT] Body: Hello World In A File (for static router test) - to file with suffix=.02FromRouter 2009-01-07 11:40:31,455 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& seems like a FTP server configuration problem, but Len is using the same server, can you please confirm is now is OK? Thanks!