File Adapter is not polling File.

Hi All,
I am using file adapter to poll a file. When I am restarting server then it is picking file. After then when I am dropping a file then File Adapter is not picking File.
Can any one guide me what si problem?
I am using SOA SUITE 10.1.3.4
Thanks in Advance.

First clusterGroupId is a unique value. Do not use the same clusterGroupId across different adapters even in different process.
Once clusterGroupId is defined, the multiple activations of the same adapter Activation Agent is to be detected implicitly and automatically by all the instances of the adapter framework active in that cluster. The cluster will allow onlye one node activation to start the reading the files/messages. The adapter framework instances chooses one among multiple nodes, randomly to assume the Primary Activation responsibility. The other activations (instances) in the cluster will initiate to a hot stand-by state, without actually invoking EndpointActivation on the JCA resource adapter.
If a primary activation at some point becomes unresponsive, is deactivated manually or if it crashes/exits, then any one of the remaining adapter framework members of the cluster group will immediately detect this, and reassign the primary activation responsibility to one of activation agents standing by.
This feature uses JGroups underneath for the implementation, hence the clusterGroupId property. These features require cluster and JGroups configuration in collaxa-config.xml and jgroups-protocol.xml. All BPEL instances participating in the cluster must share the same cluster name in collaxa-config.xml,and the same multicast address and port in jgroups-protocol.xml.
As far as for this issue, I too face the same across diff environments and searching for the exact reason. I believe this happens when primary activation agent crashes, the hand-over to the other node is not happening properly through jgroups.
Nirav

Similar Messages

  • Sender file adapter is not polling the file.

    Dear all,
       Sender file adapter is not polling the file.(But Receiver file adapter is getting the file)
    we have installed SP15.
    It was worked fine for previous SP14.
    I have cheked in Adapter monioring also.
    Can you help me out of this problem
    Regards
    Dhanabal

    Hi Dhanabal,
    Is the XI system running on a unix machine ?
    If yes, from the OS level for the folder you are using in the file comm. channel, execute the command
    <b>chmod 777 <folder_name></b>
    The reason for the file to show up in receiver side and not get deleted might be that the xi user mighht be having only read access to the folder...
    Thanks,
    Renjith.

  • File adapter : Do not poll if directory does not exist

    Hi people !
    I have a BPEL process that takes files as Input messages.
    I use a file adapter to do that.
    It works well but I would like to avoid polling the directory if it does not exist, do you know how to control if the directory actually exists ?
    Here is the File Adapter configuration :
    <jca:operation
    PhysicalDirectory="PhysDir"
    ActivationSpec="oracle.tip.adapter.file.inbound.FileActivationSpec"
    PhysicalArchiveDirectory="ArchiveDirl"
    DeleteFile="true"
    IncludeFiles=".*\.xml"
    PollingFrequency="30"
    MinimumAge="0"
    OpaqueSchema="false" >
    </jca:operation>
    Even if the directory does not exist, the process endlessly tries to poll that directory.
    Thanks in advance,
    Romain.

    I do agree with you that the directory should exist because the adapter was configured to poll on that directory !!
    Nevertheless, I would like to know how to control its existence before polling...
    Romain.

  • [File-Adapter] Reading not finished files

    Hey,
    my sender file adapter reading files which are not finished yet.
    The files are created by an ABAP programm. The creation could
    take some seconds. If the file adapter polls while creation is not
    finished, we have a problem.
    The flag "Process Read-Only Files" is not set, so the ABAP programm
    doesn't seem to set the file to read only.
    Is there a way to check (e.g. with an operating system command) if the
    file is processed completly?
    For example I could check if the date of creation is higher than 10 minutes
    or something like this.
    Any other ideas?
    thanks
    chris

    What is the file adapter option you are using?
    If NFS, you have the option "Milliseconds check before modification" that will prevent the file from being picked up till they are completly written.
    If FTP, then when the file is being written to the ftp folder you should have the option to use temporary files option
    Regards,
    Bhavesh

  • Sender File Adapter does not get files when there is a large number ( 300)

    We are on XI 7.0 (SAPKB70015)
    We have an issue picking up a large number of files from a particular server. We are trying to pickup the files based on a wildcard e.g. test
    - we can retreive up to 200 files from the same server (using the same config) no problem
    - we can pull lots of files (>3000) files from other servers (using the same config) no problem
    - we can write an mget command (mget test) to reteive the files no problem
    So the only issue is retrieving a large number of files from a parfticular server. We see no errors in the RWB.
    To get this sorted out we need to find the exact commmands that XI executes to attempt to retrieve the files. Can anyone point me in the right direction on how to find this.
    Thanks
    Richard

    It turned out that this was caused by a limitation on the ftp server.
    The file adapter uses the dir command to get a listing of the files matching a specific mask. The dir command does not return any files if there are a large number (the ls command works fine but the file adapter uses dir instead of ls).
    sap told me that 'According to this FTP server is no compliant with RFC 959 and that is
    why DIR command returns an error.'
    We were able to get this resolved by applying a patch on the ftp server.
    Thanks
    Richard

  • B2B adapter is not polling any data from EDI X12 810 ECS file

    Hi All,
    I am new to Oracle B2B. I am using
    Jdev 11.1.1.6
    Oracle Editor :  7.0.5.4016
    Document Protocol : EDI_X12
    Document type : 810 (Invoice )
    Version: 4010
    Weblogic server :11.1.1.6.0
    Requirement is : i had an EDI file and i need to translate the EDI map using the B2B adapter, transport to SOA Suite and insert into a custom DB.
    Issue  is : B2B adapter is not polling any data from EDI X12 810 ECS file
    for this i created sample EDI X12 810 ecs file, i converted the same to .xsd and .dat file. I created partner, and while configuring channel i used '*Generic File 1.0*' protocol and i given folder path( i also checked, by just giving folder Name) in the folder name property of 'Transport Protocol Parameters' , i also placed sample xml file into this folder. And I created sample process in Jdev to poll data from this folder.
    build and deployment is fine for this process, but no instances is created for this process. and the Process is not Polling any data from the folder which i mentioned in the Transport Protocol Parameters.
    is this the way am doing is wrong for my current requirement or am i did any wrong step (as stated above ) ? Please help me. How can i receive data from this EDI file to my bpel process so that i can continue with the rest of the Process. Thank you in advance
    Edited by: 979032 on Feb 12, 2013 11:02 PM
    Edited by: 979032 on Feb 13, 2013 12:14 AM

    Hi Anuj ,
    I placed .dat file now. The file Picked by B2B adapter. But i was getting the Error. The error i found in Business Message as
    "Error Code     B2B-50547
    Error Description     Machine Info: (soabpm-vm) Description: Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND.
    Error Level     ERROR_LEVEL_COLLABORATION
    Error Severity     ERROR
    Error Text     Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND. "
    But i created agreement for the partner and my document type name is "NewDocumentType" and in the wire message a am getting as shown below
    Id     7F00000113CFC36785C0000017D7E2B0
    Message Id     7F00000113CFC36785C0000017D7E2B0
    Business Message     7F00000113CFC367A450000017D7E2B7
    Packed Message     Packed Message
    Payload     Payload
    Protocol Message Id     EDIX12810.dat@7F00000113CFC36799B0000017D7E2B4
    Refer To Protocol Message Id     
    Protocol Collaboration Id     
    Protocol Transport Binding     filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
    Message Digest     Message Digest
    Digest Algorithm     
    Transport Protocol     File
    Transport Protocol Version     1.0
    Url     file://localhost//home/oracle/Desktop/B2BFiles/
    security     
    Transport Headers     filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
    certificates     certificates
    State     ERROR
    Reattempt Count     
    Error Code     
    Error Description     
    Error Text     
    exchangeRetryInterval     
    exchangeRemainingRetry     
    Message Size     2289
    I also has one more doubt, now i created ecs,xsd and .dat by selecting sample EDI file in Document editor. suppose i want create the same ecs ,.xsd and .dat for my gentran file which is of EDI x12 810 standard but i have it in PDF format , then how can i access that to in Document editor ( in the import option, i found Gentran DDF and Gentran Unix IG and i was getting the following error while importing my PDF file
    ErrorCode : 0xC00CE508
    File Position : 10
    Line Number : 2
    LineByte Position :2
    Reason: An invalid character was found in text content error) so that i can create .dat file and i can place the same in my folder in order to pick the file.
    Please help us . Thank you .
    Regards,
    Kotresh
    Edited by: 979032 on Feb 21, 2013 2:17 AM

  • Sender File adapter is not picking up file

    Hi,
    I am usning the sender file adapter to process a file through FTP. Adapter does not pick up the file, however it recognise the file, as it appears in the error message. Below is the text of the error message:
    <i>Could not process file '<b>filename</b>': com.sap.aii.adapter.file.ftp.FTPEx: 550 toSAP: No such file or directory.</i>
    I am not sure yet whether this file is <b>read only</b>. Can read only file not be processed in FTP ?
    Thanks

    Hi, I have the same problem. In advance, we can see in FTP Server log that CWD command it is called twice, for example :
    00:00:59 10.15.64.187 [4669]USER MDM 331 0
    00:00:59 10.15.64.187 [4669]PASS - 230 0
    00:00:59 10.15.64.187 [4669]CWD MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready 250 0
    00:00:59 10.15.64.187 [4669]CWD MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready 550 3
    00:01:59 10.15.64.187 [4669]QUIT - 550 0
    If we create a directory MDM_55600_MATERIAL_STD\Outbound\ESN_800\_MATMAS05\Ready into the first directory Ready where it is positioned with first cwd , its works !!
    First CWD is called for read file an seccond for processing, somebody knows because this behavior ?
    Best Regards
    Claudio Maino

  • Sender File Adapter stop processing all files

    Hello all,
    the file adapter pick up all files in the directory by default.
    if  a large number of files are in the directory then this could slow down the pi processing.
    is there any way to process only one file per polling??
    regards

    >
    Ralf Zimmerningkat wrote:
    > Hello all,
    > the file adapter pick up all files in the directory by default.
    > if  a large number of files are in the directory then this could slow down the pi processing.
    > is there any way to process only one file per polling??
    >
    > regards
    I do not have any proble if you have got the answer. BUT this blog says how to exclude the other files from the same folder.
    Your Case: For example, Your Sender CC wants to pick up file ABC.txt from /xyz dir, now suppose there are 10 thousand files of same name in the dir and you want ABC.txt should be picked up one by one, So how this blog is going to help you. Can you Plz explain to me and others too?
    @Sachin may be you can throw some light on this... may be I am missing something.

  • Sender File Adapter picking the same file twice

    We are facing a weird issue with File Sender Adapter
    We are using PI File Adapter ( NFS ) to read files for a NFS folder and
    processing those in PI.Normally it works fine. But for a scenario we
    are noticing it sometimes process the same file twice before archiving,
    thus duplicating the financial postings.
    What we have is :
    File Sender Adapter - NFS, Polling interval 60 secs, and Processign
    mdoe Archive. File name includes Wildcards - JE_Upload*.txt
    what we are noticing is that :
    when it picks up a file, it immediately polls again to check for
    another file, and sometimes the file is not yet archived so it picks up
    and reprocess the same file.
    If you see the message below, both belong to the same file, and it
    picked up the same file again in 12 secs after processing it the first
    time
       Successful 02.11.2009 15:01:00 02.11.2009 15:01:01   APMANUAL     urn:bl:i2g:003:100
    SI_SKF_FIDOC_OB XI Message
       Successful 02.11.2009 15:00:49 02.11.2009 15:00:50   APMANUAL     urn:bl:i2g:003:100
    SI_SKF_FIDOC_OB XI Message
    Anyone seen this behavior before?

    Hi,
    Please check the script which creates file in source NFS Folders. There is possibility that script is making change in file when PI is picking up the file.
    When PI picks the file first time it creates one message ID in system. After that if script is making any change in file without file name change (This need not necessary data change), for PI it becomes new file and new message gets generated in PI for same file.
    This error normally comes when File adapter is not able to archive file succesfully. For eg. file with same name alredy exists in Archive folder.
    File adapter generates the new message id whenfile get modified(eg.change in its length or data change) even though
    the file name is same and when file get change ,XI file adapter thinks that its new file and hence generate the new message id for same file.
    If file has same name and notmodified then XI adapter will not generate new message id and will keep on throw the error till you remove that file with same name from the
    archieve directory.
    -Warm Regards,
    Gouri

  • File adapter picking up partial files

    Hi All,
    We are facing a wierd problem with the File Adapter.
    The problem is that, we are getting the xml files from the source system, and PI is supposed to pick them up and process them. Sometimes, the file adapter is picking up the empty files / partial files, i.e., before the file is completely written on to the FTP folder.
    We tried increasing the polling interval. But this did not help. Since we are taking the files from the FTP, the option "MSecs" in Additional Parameters also will not work. As we are on PI 7.0 SP13, we tried to search for the "Empty File Handling" option wherein we can make the file adapter skip the 0kb files. But we are not able to find that option anywhere.
    Please help us find a solution to this problem.
    Thanks,
    Hari.

    Hari,
    In sender communication channel click on  Advanced. Then you see the paramter Msecs to Wait Before Modification Check. Add a value 3000. Then you should be good.
    Regards,
    ---Satish

  • File Adapter-Problem Reading Huge Files

    Hi,
    Here is the issue that i am facing
    When reading huge file(csv file upto 6MB-8MB) the communication channel configured as File Adapter with a polling interval of 7 min(420 sec) is inconsistent in reading the complete file.Sometimes it reads the the complete file of 6 MB and sometimes it reads a part of the file say 3MB/6MB.Can this inconsistent behaviour be resolved.??
    Your suggestions highly appreciated.
    Regards
    Pradeep

    Hi Pradeep !
    8mb is not a huge file for XI, I think it is a small one. Maybe your problem is not the size..please check if XI is not starting to read the file before it is completely written to the source folder. If you are creating that csv file from another application directly to the poll source directory of the XI scenario specified in the file adapter, and your poll interval is small, XI could start reading the file while you are still writing it. If this is the case, try to put the file with a different extension or filename than the specified in file adapter comm channel and when the file is completely written, rename it to its final filename and check if you are still having that misbehavior.
    You can write the file to a temp directory and the move it to the XI directory once finished.
    Regards,
    Matias.

  • File Adapter to read Zip file and send it as input to another webservice

    Hi,
    I have the below requirement:
    1. A service will generate 3 attachments and place it in a particular directory.
    2. SOA service has to pick those 3 files and send those files as input to another custom application which will email.
    Design :
    1. First SOA will create an archive file of those 3 attachements and then file adapter will poll for that zip file in that location and send that file as a whole to the custom application.
    Query:
    Now my question, is the above design feasible? If so, how to configure the file adapter to pass the file as input to that custom application?
    Kindly do the needful
    Thanks,
    Priya

    You can accomplish this via java embedding activity...Create a java embedding, which will create a zip file.. this java code is easy to implement..
    You can also do away with un-necessary polling file adapter.. and you can use "Synchronous File Read" operation of File Adapter.. For Sync Read, you'll have to pass the zip file name, which you can easily fetch from java embedding activity..
    Let me know, if this doesn't work.

  • XI File Adapter sending/receiving zip files

    Can the XI File Adapter create a zip file to send outbound from XI and/or can it also translate a zip file inbound into XI?

    Hi Kirk.
    What you can do is use the OS command option on the adapter in order to unzip the file after the File\FTP adapter completes its file transfer to the specified path.One of my colleagues used a freeware zip app. that excepts an os command actions.
    I know it works for file receiver but not sure about the sender. check SAP Note 801926 for more sender adapter parameters.
    Regards
    Nimrod Gisis

  • File adapter reading while the file is still being written....

    Hello BPEL Gurus,
    I had a quick question around BPEL or ESB file adapter. Does BPEL file adapter starts reading a huge file that is being written or it waits until the writing process is completed and file is complete?
    Any response is highly is appreciated.
    Thanks.
    SM

    It goes like this. At every polling frequency, the adapter looks into the directory for the files with specified pattern (e.g. *.csv, MYCOMPANY*.txt) and specified condition, e.g. minimum file age. This means if there will be 2 files available with matching criteria, the both will be picked up and processed simultaneously in two different BPEL instances. No specific order of execution. However you will find the instances in BPEL console with little delay based on file size.
    Perhaps you can elaborate your scenario further. Do we have knowledge of the file name that are to be picked up from the folder. You may use synchronous read option. If you are using 10.1.3.4 version then you can specify the file name before file adapter makes a synchronous read into the give directory.

  • NFS File adapter donu00B4t generate log file.

    Hello!
    We have a problem with a File adapter. when adapter catch file, this one don´t archive this file into archive directory.
    We have:
    Processing mode: Archive.
    Archive directory : /XIcom/INT181_GECAT/LOG
    This directory is created correctly.
    Someone can i help me. Thanks.
    Best regards.

    Hi ,
    >>>NFS File adapter don´t generate log file
    Do you mean you are not getting the processed files archived only when the file adapter set to NFS File system ?
    Did you try same thing by setting File adapter as FTP ?
    If you face same issue with File adpter set in FTP mode also then there is some issue with access to the folders.
    Please check this ...
    Regards,
    Nanda
    Message was edited by: Nanda kishore Reddy Narapu Reddy

Maybe you are looking for

  • Inserting data in database table

    Hi Everybody,               Could any one help me out on this, I have 2 tables ztab and ztab1 ,What i need to do is i need to check each coloum entry of table ztab against there check table if it eixst i need to insert that record  in table ztab1 if

  • Internal error: data not found message

    Every time I try to upload pics I get this message: internal error: data not found How can I fix this problem? Thank you so much, Stacey

  • 'DD_DATABASE_UTILITY'

    Hi, I want to use DD_DATABASE_UTILITY to delete the contents of a table but it seems to cause difficulties: call function 'DD_DATABASE_UTILITY'   EXPORTING     fct                     = 'MDF'     obj_name                = 'ZDELLIST'     obj_type     

  • Levels of WBS

    Dear All, Till what levels we can create the WBS (I mean what is the maximum lowest level (count) we can create WBS and which systems supports). Both in Financial Structure and Work plan Structure. Thanks in advance.

  • Can't log in to HBO GO or Max GO

    Having trouble logging in to the GO channels from HBO on my laptop, desktop and android tablet. Both say that I need to sign up for the channels on Verizon. I have no problem accessing HBO GO on my Roku and I can log in to Verizon with no problem. Ch