Sender File adapter and duplicate file processing

If I set the sender file adapter to delete or archive and when a file gets picked up and processed, this file will not get deleted/archived unless it was successfully processed.  However, if it errors out during processing, the file remains but it's message will get persisted in the integration engine or adapter engine.  Since there's automatic retry, we have the potential for duplicate processing as in addition to the retry, the file is still continously polling for this file.  In other words, how do we stop this duplicate file processing?
Thanks.

Hi Bevan,
However, if it errors out during processing, the file remains but it's message will get persisted in the integration engine or adapter engine.
your file wont get deleted unless adapter engine sucesfull pickups. if does not picked up at adapter engine then is not stored in adapter engine . if it reached Intergation Server and failed their then file would be deleted.
please let me know if you haveany questions
please reward points
Regards
Sreeram.G.Reddy

Similar Messages

  • File adapter and large file

    hi experts, i have a problem:
    i have configured sender file adapter to send 4mb file from FTP server, so when i upload file to FTP, file adapter don't upload it, file just stay in folder.
    I have tried to upload small file, is about 16kb, so it works fine, without any errors
    I checked communication channel log in RWB, there are not any errors, all leds are green.
    So i don't know how to upload 4mb file, also i checked all rights and permissions for file and user, they all have admin rights - "777".
    Can anybody give me some suggestion or solution?
    Thanks all for reply.

    Hi,
    Try to increase your server parameters as below and try ....then you would be able to process large data
    u2022     UME Parameters :  May be we need to look into the pool size and poolmax wait parameters - UME recommended parameters (like: poolmaxsize=50, poolmaxwait=60000)
    u2022     Tuning Parameters:  May be we need to look/define the Message Size Limit u201Clike: EO_MSG_SIZE_LIMIT = 0000100u201D under tuning category
    u2022     ICM Parameters: May be we need to consider ICM parameters (ex: icm/conn_timeout = 900000. icm/HTTP/max_request_size_KB = 2097152)
    Regards,
    Naveen

  • File Adapter and Determining File Size

    I have added a Header Variable to my Receive activity so that I can capture the size of the file coming in. I've also added a "size" element to the InboundFileHeader.wsdl.
    I can't figure out how to populate that header variable! I was hoping it would just be populated automatically since I've added the element to the wsdl but no such luck, just null variables.
    Thanks.

    865094 wrote:
    ... if we have File protocol available inside proxy, where do we need File adapter then?The FileAdapter (JCA Resource) can be also used by BPEL/Mediator... I would always first consider using File protocol for OSB, unless there's some feature in the JCA adatper that may be interesting for a particular use case (like native format builder for example)...
    Cheers,
    Vlad

  • Sender File adapter :Avoiding duplicate files to post IDOC

    Hi
    My scenario is  File to IDoc and am picking up files from a legacy system folder to create invoices in ECC by means of an IDOC.
    There is a possibility of having two files (duplicate) sent in the folder by the legacy system which will have the same name.the requirement is to :
    Check the file name while picking the file and archive it directly in the archive folder without processing if the file name is the same since the contents will be the same
    for eg
    S1_Date_A1 as the file name occurs twice then the second file coming later should be ignored and not processed and put in the archive folder.
    kindly suggest
    thanks

    there are only custom ways to get this done. No standard way exists.
    Ref:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dceaa0
    check page 5, Class 1 (C1)

  • Itunes File structure and duplicate files

    Hello,
    I recently did a reorganize and conslidate.  I have Itunes 10.7.  I notice that I have artist files under both E:/ITUNES>Itunes Media (first file) and E:/ITUNES>Itunes Media > Music (2nd file).  The actual MP3 seems to always be in the second file. 
    For example, Anne Murray (The Artist) will have a folder in both places.  In the first folder will just be a subfolder with artwork and also a desktop.ini file.  The folder under Music (2nd file) will contain the actual MP3s and also a folder.jpg which is a jpg of the alblum cover.  The first folder has multilple art of the artist.  The second folder with the MP3s just the one JPG.
    Question 1 -  Do I need the first folder.
    Qestion 2 - Why are there two artist folders instead of just one and why are they not together.
    Thanks,
    wdpcpa

    files get uploaded into apex's TBSFiles are initially uploaded into a table in the flows_files schema. If you delete them from there in the process of copying them to your own table, you can manage the storage properties of your table.
    Scott

  • File adapter instances for BPM processing

    I have two doubts. If I have a single file adpater polling an Input folder and the reciever is the BPM,and i have multiple files in the same folder to be picked up by the File adapter. Will the files be qued up to be picked by the file adpter, or will there be a multiple instances of the file adapter internally ?
    The second issue is that, if i have multiple instances of BPM using the same outbound file adpater, then will the outbound messages be qued up or sent parallely
    Please share any ideas on this.
    Regards

    Hi,
    1) Files with the same name cannot be in 1 folder. so if you need to pick up (say 3 files) u need to create 3 File sender channels and associated these channels to the corresponding sender agreements. So when ever an adapter find sthe file it will pick it up. So there will be queuing up at Adapter level.
    2)In the secod case, all instances of BPm will send to the same file adapter, and the files will get overwritten unless you specify somethign like "append messad" or "add time stamp"
    3)Each instance of your BPM is an indivual process. It doesn't care if the instace1 RFC has been suceessfully processed or not. So when file2 is sent, BPMInstance2 is created and RFCadapterInstance2 gets started processing....
    Hope this helps you.
    Cheers,
    Siva Maranani.

  • Sender File Adapter and NFS

    I am having a sender file adapter and is using NFS as the Transport Protocol. This channel is throwing an error that  " directory does not exist". What can be the possible solutions for this problem?
    When I had previously checked this , it was working fine but now its throwing this errorr.

    Hi Neelansha,
               If you select the transport protocol for NFS, Mention the Directory name for where we can get data.
    and check the communication channel monitor for file sender, it will shows the clear error.
    Regards,
    Sateesh

  • File Adapter-handling erroneous files and let channel continue to poll file

    Hello,
    Even tough there is not an out-of-the-box solution in PI, I'd like to hear your suggestions. When having a file sender communication channel to pick and send files, there are cases where we get errors at the adapter level. These errors are generally due to errors in the file, which will, for example, lead to conversion errors. When this happens, this communication channel will present us an error and will continuously try to pick the erroneous file till we fix the error in that file. Now imagine the situation where in the same folder you have another 1000 files to be picked up and these are all right. Despite this fact, the communication channel will continue to be in an error state till it can process the first file. My question is, what's your generic and standard solution to automatically place this erroneous file in an erroneous folder directory enabling the communication channel to process the other 1000 files?
    Thank you for your suggestions.
    Goncalo Mouro Vaz

    Hi,
        As said above...that option need to be utilised in case of error files....
    search SDN if need more details...and coming to the second u mentioned that if 1000 files are there for processing and waiting...
    if file adapter criteria for processing the file matches and if file is correct then those files will get processed inspite of one error file also...
    Hope this clears your queries...
    HTH
    Rajesh

  • Faults generated by Oracle file adapter not reaching BPEL process

    Hi,
    I have a process that uses the Oracle file adapter to receive the contents of a file, and am suffering from a number of problems when it is not able to parse the source file.
    The process is initiated by a receive activity associated with the file adapter partnerline that has the create instance flag ticked.
    One problem is that if the file adapter encounters an error when reading the file, there is no record of anything happening from the BPEL Console. I presume this is because no instance of the process has been created as the error was encountered before invoking the process. The only record I have of a problem ever occuring is in the logfiles.
    To make matters worse, if you select the Delete files after successful retrieval, the source file is deleted even though an exception has been encountered. If you specify the Archive processed files options, it does not archive the file.
    So to summarise the problems:
    * there is no record of an attempt to read, or of a faulty read occurring when trying to read the file from the BPEL console when a faulty read does occurs.
    * no instance of the process is ever created, so it is not possible to implement a fault handler to send out a notification of the problem.
    * when a problem is encountered, the source file is deleted and not archived.
    I assume that this is a bug, so can anyone advise if there is a patch to address these problems?
    Thanks
    Toby

    Ok, so now I'm using a rejection handler to invoke a BPEL process, and have defined the inputVariable type to be rej:RejectionMessage and imported RejectionMessage.wsdl.
    The process is being invoked successfully, and I can see that the processes input contains data.
    So I am writing the opaque MessagePayload to a file successfully using a file adapter, and can see the file content that is written is as I would expect (it matches the file used as input that would have caused the fault - although the content is truncated).
    Now I want to modify the file adapter so that the file's filename is set to the RejectionId attribute of the BPEL process. However, I'm receiving the following message:
    xpath variable/expression expression "/ns2:RejectedMessage/@ns2:RejectionId" is empty at line 50, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns2:RejectedMessage/@ns2:RejectionId" is not empty.
    I can see from the console that the RejectionId is in fact populated, and the copy from the RejectionMessage's MessagePayload is completed ok.
    Does anyone know what's going on here?
    Thanks
    Toby

  • File Adapter : read XML file with data validation and file rejection ?

    Hello,
    In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
    Now the File Adapter reads the file correctly but it does not give an error when:
    - the data types are not valid. Ex: dateTime is expected in a node and a string is provided
    - the XML file has invalid attributes.
    How can I manage error handling for XML files ?
    Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
    Thanks.

    one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    hth clemens

  • File Adapter not writing file when processed from one node in a clustered environment

    In our environment, we have 4 server nodes running. We are using a file adapter to write file to a location in the server. the adapter is writing files when its processing data in all nodes except one.
    Below is the JCA File
    <connection-factory location="eis/FileAdapter" adapterRef=""/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="/data/prd"/>
    <property name="FileNamingConvention" value="Sample.dat"/>
    <property name="Append" value="true"/>
    </interaction-spec>
    </endpoint-interaction>
    the File Adapter health is running OK. What would be the potential cause

    In our environment, we have 4 server nodes running. We are using a file adapter to write file to a location in the server. the adapter is writing files when its processing data in all nodes except one.
    Below is the JCA File
    <connection-factory location="eis/FileAdapter" adapterRef=""/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="/data/prd"/>
    <property name="FileNamingConvention" value="Sample.dat"/>
    <property name="Append" value="true"/>
    </interaction-spec>
    </endpoint-interaction>
    the File Adapter health is running OK. What would be the potential cause

  • File Adapter and Third party system

    Hi,
    I am new to XI and implementing a simple scenario.
    In SLD- I have 3rd paty software component and product.
    3rd party technical system: using my pc - For host name I am using my machine name.
    Scenario: Using file adapter transform csv file to xml.
    File resides on my machine. I have configured file adapter inbound and outbound. Integration Dir & Rep objects are all activated.
    But nothing happens, cannot see any message in Messgae monitoring..
    Any help would be great.. Is my technical system setup wrong?
    thanks

    chk whether the folder in your m/c where the CSV file resides is shared and has appropriate access. Also you need to specify your m/c IP with fwd slashes, e.g) //<Ipaddress>/foldername
    configuring your m/c as a Third Party system in SLD is fine.
    If you think ur SLD settings are not correct, you can define your file adapter commn. channel  in a Business Service(which does not require an SLD entry) and check whether it works.
    Thanks
    Saravana

  • How to generate .pdx file using File Adapter and FTP Adapter

    Hi,
    is it possible to genearate .pdx file using oracle ESB Adapters(File Adapter and FTP adapter).
    Can you anyone guide me.
    Thanks,
    Raj.

    hi,
    regarding report, there is a dedicated report forum. you should post there.
    but answer for your question is form is nothing to do with the pdf generation. you can call the report from the as usual.
    In the report you should set the properties like
    destype to 'file'
    desname to 'path with file name'
    desformat to 'pdf'

  • Difference between File adapter and FTP adapter

    hi,
    I would like to know what is the difference between File adapter and FTP adapter
    thanks
    Yatan

    Both file and ftp adapters are non-concurrent jca adaps, however we go for file adapters mostly when you have files on your local environment and do not need to wait for someone to FTP the files on a timely basis. In case of FTP Adapter, we would need an FTP Server, a remote location with access where in files pitch in for polling.
    Also, File adapter is dependent on the local folder and OS, however FTP adapter is dependent on the local as well as the remote file system/OS/folder permissions/user access.

  • File adapter and clustered application

    Hi !
    I have a question about how to use correctly file adpter at sca application in clustered server. My application very simple. Folder with xml files. Composite application - file adapter read folder with mask *.xml. Some times file adapter read one file twice. How I can set lock file when read one server from folder ?
    Edited by: user5427713 on Nov 26, 2012 5:38 AM

    You need to setup the File Adapter for high availability to ensure proper functioning in a clustered environment. Check out the details here in section 5.9.2.2
    http://docs.oracle.com/cd/E12839_01/core.1111/e10106/ha_soa.htm#CHDJFDAI
    In summary you will need following:
    1. A shared filesystem for the managed servers
    2. Same value for control directory in connection factories
    3. Use eis/HAFileAdapter instead of eis/FileAdapter as connection factory in JCA file.

Maybe you are looking for