FIle adapter polling at a particular time

Hi,
I want to pull a file say  at 12.00 am  always from a FTP server.
Is there any scheduler in XI where in I can start the adapter polling without manually activating the file adapter at 12.00 am
Thanks,
Sachin

HI,
As of now File Adapter doesnot support this. Refer SAP Note 821267 Question No 18.
There is some workaround is there. Using BPM etc..
Regards,
Moorthy

Similar Messages

  • File Adapter polls all the files from the directory when deployed again

    Hi,
    File Adapter polls all the files from the inbound directory irrespective of the timestamp when deployed again.
    For ex. when the BPEL process with file adapter is deployed, it starts polling the directory based on the timestamp as and when the directory is written with the files. I did not opt for deleting the files after read by the File Adapter.
    But, when BPEL process is modified and deployed again, this time, the file adapter picks up all the files in the inbound directory and doesn't consider the timestamp.
    My guess is that it should not pick all the files but based on timestamp only.
    I guess I can observe the same behavior if I bounce the Application Server also
    Do I have an option to achieve this?
    Thanks,
    Sasi Bhushan.

    try this:
    1- create a File object for the directory. (look at isDirectory() )
    2- create a File[] that represents the files in that directory. (.listFiles())
    3- if (file[x].isDirectory()) {recursive method call;}
    4- else {
    process file;
    If you want more help--do some work on it, and come back with specific questions relating to specific lines in your code and specific error messages you've been receiving.

  • What is the Maximum Data can a file adapter can send at a time.

    Hi ,
    What is the Maximum Data can a file adapter can send at a time.Is there any maximum limit data can adapters will send.
    can any one help on this.
    regrads
    Raghu

    Hi Reddy,
    I have raised the same question and I got correct answer.
    Refer the below thread which will give u information.
    Wat is the maximu size of data XI can handle
    Thnx
    Chirag

  • File adapter, trigger if no file is polled for pre-defined time

    Hi',
    I am polling for a file in a directory, my requirement is to notify by a email
    if no file is polled for 1 hour or so, i.e. if no file comes in that directory for
    long time.
    Is there a way we can achieve this, I tried using a pick activity instead of
    receive, however it does not allow on-alarm in this condition.
    Please advice.
    Thanks
    Yatan

    If you dont want to use database then you can do with your files as well, if at all you are archieving the files.
    Say as soon as i get the files in the folder the adapter will read its content and then move it to archive folder, then you can have a logic to list the file and get the timestamp of the latest file from archive and compare with current time stamp and that will trigger a mail.
    You can achive the above using API.
    Thanks,
    Vijay

  • File adapter polling a folder and accepting a single document at a time?

    Hi,
    Is it possible to make file adapter read a single file at a time though it is polling a directory that may contain more than one document?
    In other words is it possible to make file adapter reading documents sequentially?
    Do I need to put a queue to achieve this?
    Queue will read the incoming documents and puts the documents to another directory one by ome so that the file adapter picks up only one file at a time?
    Thanks,
    Sasi Bhushan

    Hi,
    have you read
    http://download-uk.oracle.com/docs/cd/B31017_01/core.1013/b28941/soa.htm#CEGJIDAC
    There is explained what concurrency level you can achieve for adapters...

  • JDBC adapter stop polling at a particular time

    Hi,
    I am facing one issue with J2EE engine of Xi. Everyday at 11:59 pm JDBC adapters stop polling. If we look at communication channel monitoring in RWB there will be a green light against these communication channels. But if look at the cluster node, we can see that the channel is not polling data from the database.
    Once we restart the J2EE engine it will start polling records from database. Why it is stop polling at the this particular time? Can you please give some suggestions to resolve this issue.
    Thanks
    Message was edited by: jaison
            Jaison Joseph

    Hi,
    Get into Config tool >> Cluster_Data -Instance -Service -Com.sap...jdbc.svc...
    And check  whether you have defined as Always or Automatic..
    Regards
    Agasthuri Doss

  • XI file adapter polling faster than poll interval

    Hi,
    We are facing a issue with the file adapter/authorization of the FTPUSER.
    We FTP a server and pick up a file from a particular folder.
    My polling interval is 2 minutes
    My retry interval is space.
    Processing mode : ARCHIVE
    We are archiving it on a Network attached server(NAS) mounted on our XI server.
    When XI polls for the first time it picks up the file but the sender file adapter shows following error in RWB.
    <b>2006-01-20 11:31:08 GMT: Error: Deleting of file 'ARUCSjnewb80.txt' failed - cannot proceed: FTPEx: ARUCSjnewb80.txt: Access is denied.</b>
    The picked up file gets processed but at the same time just within 12-13 seconds of the first poll XI picks up the file second time and then in another 3 seconds for the third time.
    After this the file gets archived thrice in the archive directory and then gets deleted from the source directory.
    We are unable to understand why XI is polling  again  after few seconds of the first poll.(As per my understanding it should have polled after 2 minutes).
    I am able to delete the file manually from the Ftp server.
    Could anyone give a pointer towards what we are missing or what probable reasons could be?
    authorization issue?( XIADM /ftpuser have full authorization)
    Some adapter setting?
    Regards,
    Sulakshana

    Hi,
    Could you let me know how frequent the file gets loaded to the FTP server.
    Is your file size too large to get loaded.. If so try to increase the polling interval. Also make sure that you have provided the polling time in sec and not in minutes...i.e for 2 minutes it should have been specified as 120 sec as polling interval
    Regards,
    Nithiyanandam

  • File adapter polling frequency is not consistent in SOA 10g!

    Friends,
    I have used file adapter for polling files in a service in SOA 10G env. with polling frequency 3600 secs. However, i have noticed file polling is not happening at 60 mins interval, instead some times files getting polled in less than 30 mins but again after sometime its polling correctly in 60 mins interval. I am not sure what could be the reason but i need a solution urgently. Please help!

    Could be the managed servers in the cluster are not in sync.
    I faced DB JCA adapter sync issues because of Oracle soa suite bug.
    You could check whether any sync issues are there with File adapters.

  • File adapter polls before the processing is finished in R3

    Hi,
    Polling in sender file adapter is set as 4 secs. The problem arises when more than one  files with same Service Order number are uploaded and the corresponding IDOCs are simultaneously received in R3 system. As one IDOC is already processing the Service Order, the other IDOC fails as the Service Order is already being processed.
    Kindly suggest if there is a way to resolve this issue.
    Regards
    Pravesh

    Hi,
      Check below link:
    File adapter should pick a single file at a time
    can file adapter pick files sequentially
    Amol
    Edited by: AMOL BHARTI on Apr 14, 2010 11:38 AM

  • File adapter polling stops after reboot of third party system

    Hi,
    We noticed that whenever we reboot our third party system, XI File Adapter is losing it's connection to that third party system and polling stops. As a result File Adapter is not processing any files from that particular server.
    To fix this problem, we either reboot XI Server or refresh communication channel (Go to change mode and save it).
    File adapter is configured to  use FTP  to transfer the files between Windows Server and Unix Server.
    Is there a better way to fix this problem?
    Thanks in advance.
    Regards
    Chandu

    Hi,
    Make the connect mode as PER FILE TRANSFER in the file adapter.
    <i>Connect Mode
    Permanently
    An existing connection to the FTP server is used permanently.
    The connection is reestablished automatically if it is closed by the server.
    Per File Transfer
    A new connection to the FTP server is established for each file transfer.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Regards,
    Bhavesh

  • Problem with file adapter polling on Unix

    Hi everybody,
    I'm trying to run my BPEL process with receive activity of File adapter partner link. Everything is working OK on Windows file system - folder polling is set correctly and when the new file appears and is at least 2 minutes old, the process starts. But when I try to run the process on the UX server with BPEL (folders are changed to the correct values as '/home/myfolder', rights for this folder are set to RWX for everybody and process is deployed successfully to the appropriate domain) nothing is done when the new file appears in the folder.
    I really don't know, where is the problem. Any hint from you?
    Thanks,
    Milan K.

    Hi Suraj,
    From The Note ``
    "lock" option:- This is the option that is almost similar to the above; The key difference being in very rare circumstances, the first option may still allow channels to be run on both server nodes. When this option is set, file adapter acquires a enqueue service lock. Lock is taken on channel object and it is exclusive and non-cumulative such that no second message(even it is from the same channel) can fetch the files from configured FTP/File directories unless and until first message has completed(success/fail) its processing.
    This is exactly my requirement.
    but when I see the end time of the message its they are withing second only as
    14:02:38     14:02:39
    14:02:48     14:02:48
    14:02:58     14:02:58
    14:03:08     14:03:08
    14:03:18     14:03:18
    14:03:28     14:03:28
    14:03:38     14:03:38
    14:03:48     14:03:48
    14:03:58     14:03:58
    14:04:08     14:04:08
    14:04:18     14:04:19
    14:04:28     14:04:29
    14:04:38     14:04:39
    14:04:49     14:04:49
    14:04:59     14:04:59
    14:05:09     14:05:09
    14:05:19     14:05:19
    14:05:29     14:05:29
    14:05:39     14:05:39
    14:05:49     14:05:49
    14:05:59     14:05:59
    14:06:09     14:06:09
    14:06:19     14:06:19
    14:06:29     14:06:31
    14:06:39     14:06:40

  • SOA Suite and File Adapter polling

    Hi All.
    Whenever I have a BPEL process deployed (didn't test whith ESB yet) that uses a file adapter tha polls for files in a directory, my SOA Suite is not able to shutdown properly, and it stops with error when it's time to stop the container that has the BPEL installed.
    This is the error message:
    There are some errors while stopping the following components. Refer to the generated error report for more details.
    ==================================================
    ias-component: default_group
    process-type: oc4j_soa
    process-set: default_group
    Error Message:time out while waiting for a managed process to stop
    ==================================================
    Looking at OPMN log, I see that the managed process was forcefully shutdown.
    Is this an issue, or a normal behavior, or do I have to implement some code in order to stop the BPEL process before shutdown?
    I'm using SOA Suite 10.1.3.1 in a developer environment (Win XP)
    Regards.
    Denis

    I applied patch 5964097 (OPMN PERFORMS ALWAYS A FORCEFUL SHUTDOWN IN 10.1.3.1) and it seems to solve the problem, at least for the BPEL scenario explained.

  • Need  file adapter polling with read operation to be triggered by a BPEL without using synchronous read

    The scenario is:-
    Web Service Client -->input-->BPEL-->if input valid-->trigger file adapter with read operation--> receive file
    i am not able to stop the polling until it is required to trigger the polling.
    As soon as i deploy the composite the file adapter starts polling without waiting for input.
    Since i am using two receive activities, the second one which is suppose to receive file from file adapter is always showing pending state. (asynchronous callback)

    Hi there,
    IMHO the traditional read is used only as inbound operation, that means
    that it starts polling the input folder as soon as the composite gets
    deployed - which is the same you are experiencing.
    In your case you need an outbound operation that needs to be invoked at
    a certain moment. I don't know what are the reasons not to use sync
    read, but this is the only outbound read operation supported by the
    adapter. If you can not use the sync read, then you would have to design
    some custom solution where you call a web service or EJB for instance
    that reads the desired files.
    Another option I can think of, though have not use personally is using
    the adapters programatically in Java - take a look at this blog post as
    it seems related to this topic -
    https://technology.amis.nl/2012/01/22/using-the-oracle-weblogic-technology-adapters-with-custom-java-message-driven-bean-mdb-triggered-by-file-adapter-part-of-the-story/.
    Hope this helps,
    A.

  • Weird problem in File Adapter polling

    Hi Guys,
    My BPEL process is working fine not until today wherein the File Adapter cannot poll for new files in the target directory. I tried restarting the bpel server and still my bpel process was not able to poll for new files. I tried creating a test bpel process and configure the file adapter (see below):
    Operation Type: Read
    Archive processed files: Enable
    Delete files after successfule: Enable
    Include files with pattern: *.csv
    Publish messages in batches of: 1000
    Polling frequency: 5 seconds
    Minimum file age: 0 seconds
    Sample File: test.csv
    12345,12345,12345
    When I tried testing it, the file was deleted but it was not able to archive the file and bpel process did not appear in the instance tab of BPEL console. I have check the domain.log and orabpel.log files and it didn't show any exceptions or error (log level is set to error)
    Any idea how to fix this problem?
    FYI, I'm using the version 10.1.3.1.
    thanks,

    What does your process do other than poll files, does it call any other adapter / service. This is more likely the issue although I have seen issues with the file and ftp adapter in 10.1.3.3 and 10.1.3.1. I never sorted the issue it just seemed to affect that process.
    10.1.3.1 is really out of date and has a number of issues you should look at upgrading to 10.1.3.4 or 10.1.3.5 but I have seen some posts that have issues with 10.1.3.5.
    cheers
    James

  • File adapter polling location changing in between the process

    Hi,
    One more scenario, Say File adapter is polling for files in C:\. In between the process, the polling location needs to be changed to D:\. How to do this. Please help.
    ~rps

    wont happen

Maybe you are looking for