0 Replies Latest reply on Jun 14, 2011 12:02 PM by Sabrina Savani

    Problem gateway.AbstractFileGateway

    Sabrina Savani Newbie

      Hi. First, sorry for my English, i'm French.

       

      So i have to create a new service on a system wich already work as well.

       

      2 directories, "source" and "cible". "Source" is where i put a CSV file, and i expected that it will be transferred to "cible". All my other services (same services) work. But i have an exception when i put my file on the repository, and the problem appears every 30s (when my listener try to read the file actually). 2011-06-14 17:42:55,162 ERROR [org.jboss.soa.esb.listeners.gateway.AbstractFileGateway] (ESBScheduler:ESB-SEPA.esb_Worker-0) Can't retrieve file list org.jboss.soa.esb.listeners.gateway.GatewayException: org.jboss.soa.esb.util.RemoteFileSystemException: 2: No such file at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:176) at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.onSchedule(AbstractFileGateway.java:109) 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: 2: No such file at org.jboss.internal.soa.esb.util.SecureFtpImpl.getFileListFromRemoteDir(SecureFtpImpl.java:423) at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:166) ... 5 more Caused by: 2: No such file at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2291) at com.jcraft.jsch.ChannelSftp._realpath(ChannelSftp.java:1824) at com.jcraft.jsch.ChannelSftp.cd(ChannelSftp.java:263) at org.jboss.internal.soa.esb.util.SecureFtpImpl.getFileListFromRemoteDir(SecureFtpImpl.java:419) ... 6 more

       

       

      I don't know if the problem come from the listener, or the file, or ESB ??

       

      PLEASE someone help me on this.

       

      Thks

       

      S.S.