File Sender channel stopped polling on FTP site

Dear all,
We have many file to Idoc interfaces running in production and all are they good.
Yesterday we faced one issue, one of the interface's sender communication channel stopped polling and didn't picked the files from FTP.
There was no error on communication channel monitoring and it is green.
We stopped & started the channel then started picking the files. But this is not usual behavior of file adapter.
We found one SAP Note 1083488, according to this note, we are in the latest SP level( PI 7.0 SP 14). So not required to apply this patch my case.
What should i do to not to face next time
Regards

Hi Bhavana,
Check the below Q & A.....
>> Q: After configuring a large amount of File Adapter sender channels, the J2EE Engine becomes very slow and some services start to block. How can I solve this issue?
A: Up to and including XI 3.0 SP13 each File Adapter sender channel permanently consumes a J2EE application thread. To solve this issue, increase the number of configured J2EE application threads using the SAP J2EE Engine Config Tool ("cluster-data" -> "Global server configuration" -> "managers" -> "ApplicationThreadManager" -> "MaxThreadCount").
Starting with XI 3.0 SP14 / PI 7.0 application threads are allocated on demand by the File Adapter and returned to the thread pool after it has finished the polling sequence, so thread shortage situations will typically occur much more rarely than with earlier SPs.
Also as said by Other SDN'ers check the locks.
Thanks,

Similar Messages

  • JDBC and FTP sender channels stop polling

    Hi,
    We have a great volume of sender JDBC and FTP sender channels.
    For this reason there is nothing unusual to have temporary error connections.
    Several months ago, with an XI 3.0 system, sender channels recover its functionality  automatically when temporary error connection is solved.
    But now, he have migrate to a  PI 7.1 sytem, and in the same scenario and configuration,  sender channel stop polling after a temporary error . In cc monitor this channels remains in  green status and there were no signs of stopped interfaces.
    Timeouts are correctly defined and there is no difference between channel configuration in our Xi and PI system.
    How to solve this problem?
    Thanks, in advance.
    Carme.

    Thanks for your fast response, Stefan.
    After writing this post, i ask the same question to our basis team and  we are in the latest sp.
    ¿do you know if there is any note or can you provide me some additional information?
    I'm not able to find any note about this issue...
    Regards,
    Carme.

  • Sender JDBC - Stops polling

    Hi All,
    For some of the sender jdbc channels, we face locking issue. The channel monitor keeps showing same log 'processing Started'.  Based on sdn threads, we tried to remove the jdbc lock in Netweaver Administrator. But it didnt work. As per the sap note
    Note 1083488 - XI FTP/JDBC sender channel stop polling indefinitely(04/04S),  planning to try with taskTimeOut parameter.
    But what is the optimal value to be given for this parameter?  Then could the Transaction Level be kept to Default? Hope it will not lead to any message loss.
    The PI version is 7.1 and service pack level is 4.

    Hi Aarthi
    According to JDBC Adapter Note 831162.
    Q: During JDBC receiver message processing I see that some messages are in "delivering" state forever. How do I solve this?
    A: Please set the receiver channel configuration Exactly Once handling parameters as "local" and "redo". The configuration setting "local" and "error" setting is some times prone to deadlock situations at the DB table level.24.
    Also check question 28 in SAP JDBC Adapter Note 831162.
    Regards,
    Raghu_Vamsee

  • File Sender channel polling successfully  but not picking the files.

    Hi All,
                    Can any one please provide any SAP Note  Or any Alert mechanism for the  File Sender channel in case where the XI channel in polling successfully at a particular folder from Source System  but not picking the files. Thanks in Advance for the solution.

    Hello,
                  If you want to know the reason for failure in picking up the file ,You can check the MessagingSystem monitoring for the reason behind failure.
    http://host:httpport/MessagingSystem/monitor/monitor.jsp
    For Alert may be you can follow prateek instructions.
    HTH
    Rajesh

  • File Sender Channel

    Hi,
    I have a job running which copies a file from remote server to my PI server. I have a file sender channel which picks up this file send it for further processing.
    Is there a way to make sure that the file sender channel reads the file only after it has completely been  copied from the remote server assuming that we dnt know what is the maximum time it could take to write the file.

    Two options,
    1. The script should write the file having set the indicator as read only. Only after it writes the file completely the read only option should be removed.
    the option ●      Process Read-Only Files (for transport protocol File System (NFS)) should be disabled
    2. Use this option,
    Advanced Mode
    To specify additional parameters in the adapter configuration, set the Advanced Modeindicator.
    ●      Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
    This parameter is not available if you have selected File Content Conversion as the Message Protocoland then made an entry under Recordsets per Message that splits an input file into several messages.
    Note
    This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
    All above solutions will work only if its NFS and not FTP

  • Issue with archiving in file sender channel

    Hi Experts,
    We have configured a file to  ABAP proxy scenario in our production PI  7.0 system. the  file sender  communication  channel  is configured to perform " file content conversion"    and archive the  source file  after it is processed successfully.
    Recently , the sender channel stopped archiving the files.  but it is processing them.
    we need the source files to be archived.  i do not see any  related error  in XI logs and default trace files . also it is not a problem with disk space on file system either.
    can you please let me know  how the issue can be resolved.
    Thanks.
    -Kaushik

    Hi
    Make sure that you have selected processing mode Archive
    Try by Checking Add Time stamp  check box.
    Check the Archive File path in correct format
    or put archive file in diffrent folder from which selecting file.

  • File sender channel - file name "null"

    Hi all,
    I am designing a scenario where I am reading 2 files from 2 different senders, and these 2 messages are fed to a multi mapping in BPM, which creates a single target message. I need to read the name of only one of the two source files and populate it in one field of the target message.
    I have read some blogs and forum threads about how to access the file name from the sender file channel. It calls for turning on the adapter specifc parameters in the channel and writing the following UDF (taken from Michal's blog #2664) -
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    After doing all this, I am getting file name as "null". Can someone pls let me know the cause for this ? My concern is since I want to read only one file name, so I have updated only that specific file sender channel for adapter specific attributes.
    Regards,
    Shankar

    Hi Raj,
    I checked the ASMA for second channel also, but no luck
    I can see both the files names in their respective messages in SXMB_MONI under node 'Dynamic Configuration'. But the two messages enter the multi-mapping within BPM (where I have put trace to print the file name as per above code), the value is shown as "null".
    1) Is this file name access is possible only in simple scenarios ?
    2) Also, is the file receiver mandatory ? I have email receiver in my scenario.
    Any clues ?
    Regards,
    Shankar

  • Mass change in file sender channel.

    Hi,
    I want to do change in all my file sender channel and want to add following parameter.
    Parameter Name : clusterSyncMode
    Parameter Value : lock
    I have approx 300 file sender channel.
    So is ther anything by which I can perform mass change at the same time and can add parameter to it ?
    Please suggest if anything like this.

    You can change the parameter as a Service Property, applying to all communication channels at once. Please check the note below (for 7.1+, you must change it on NWA instead of VisualAdmin)
    [ Note 1259515 - 'clusterSyncMode' is available as service property|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1259515]

  • Files not getting picked from the FTP site

    Dear All,
    We are having one File-XI-RFC scenario running in XI-PRD Server. Sometimes what happens is that files available in the FTP site are not getting picked by the File adapter. I have checked in the adapter monitoring and communication channel is active there. Also, there are no errors regarding this in SXMB_MONI. I have configured alerts also but for this case no alerts are getting trigerred. And also when I am reactivating that particular communication channel then that file is getting picked instantaneously.
    Can anybody please guide me on what might be the real cause for this as this error is happening randomly.
    regards,
    N.Jain.

    HI,
    Have you used per File transfer parameter in FTP Communication channel.
    It makes the FTP adapter inactive in ideal time.
    So add the poll interval may be for every 30 mins or something like it. It will forcefully activate the FTP port after every 30 mins. You may have the poll interval for every 1 min. Only the files to be picked up are getting logged in in XI monitoring.
    So there will be no garbage collection of unwanted messages in Monitoring.
    Thanks
    Swarup

  • Transfer a file from App Server to a FTP site.

    Hi, Abapers.
    I need your help. Probably, this topic has already been posted in a similar way, but we need an answer to solve our problem.
    We have to sent a PDF file from a directory of our app server (AIX) to a FTP directory... which would the FM sequence we should use to goal it?
    Best Regards.

    Hi Santiago,
    create fm to send file from APP server to FTP site.
    if you want to Post file from desktop to Appl use Transaction - CG3Y
    if you want to Post file from Appl to Desktop use Transaction - CG3Z
    copy the code below....
    *  Author: Prabhudas                            Date:  02/21/2006  *
    *  Name: Z_FTP_FILE_TO_SERVER                                          *
    *  Title: FTP File on R/3 Application Server to External Server        *
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(DEST_HOST) TYPE  C
    *"     REFERENCE(DEST_USER) TYPE  C
    *"     REFERENCE(DEST_PASSWORD) TYPE  C
    *"     REFERENCE(DEST_PATH) TYPE  C
    *"     REFERENCE(SOURCE_PATH) TYPE  C
    *"     REFERENCE(FILE) TYPE  C
    *"     REFERENCE(BINARY) TYPE  CHAR1 OPTIONAL
    *"     REFERENCE(REMOVE_FILE) TYPE  CHAR1 OPTIONAL
    *"  TABLES
    *"      FTP_SESSION STRUCTURE  ZMSG_TEXT OPTIONAL
    *"  EXCEPTIONS
    *"      CANNOT_CONNECT
    *"      SOURCE_PATH_UNKNOWN
    *"      DEST_PATH_UNKNOWN
    *"      TRANSFER_FAILED
    *"      COMMAND_FAILED
      DATA: w_password     TYPE zftppassword,
            w_length       TYPE i,
            w_key          TYPE i                  VALUE 26101957,
            w_handle       TYPE i,
            w_command(500) TYPE c.
      REFRESH ftp_session.
    * Scramble password (new Unicode-compliant routine)
      w_length = STRLEN( dest_password ).
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = dest_password
          sourcelen   = w_length
          key         = w_key
        IMPORTING
          destination = w_password.
    * Connect to FTP destination (DEST_HOST)
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          user            = dest_user
          password        = w_password
          host            = dest_host
          rfc_destination = 'SAPFTPA'
        IMPORTING
          handle          = w_handle
        EXCEPTIONS
          not_connected   = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          RAISING cannot_connect.
      ENDIF.
    * Optionally, specify binary file transfer
      IF binary = 'X'.
        w_command = 'bin'.
        CALL FUNCTION 'FTP_COMMAND'
          EXPORTING
            handle        = w_handle
            command       = w_command
          TABLES
            data          = ftp_session
          EXCEPTIONS
            command_error = 1
            tcpip_error   = 2.
        IF sy-subrc <> 0.
          CONCATENATE 'FTP command failed:' w_command
            INTO w_command SEPARATED BY space.
          MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
              WITH w_command
              RAISING command_failed.
        ENDIF.
      ENDIF.
    * Navigate to source directory
      CONCATENATE 'lcd' source_path INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING source_path_unknown.
      ENDIF.
    * Navigate to destination directory
      CONCATENATE 'cd' dest_path INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING dest_path_unknown.
      ENDIF.
    * Transfer file
      CONCATENATE 'put' file INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING transfer_failed.
      ENDIF.
    * Disconnect from destination host
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          handle = w_handle.
    * Optionally, remove file from source directory
      IF remove_file = 'X'.
       CONCATENATE source_path '/' file INTO w_command.
      CONCATENATE 'rm' w_command INTO w_command SEPARATED BY space.
       OPEN DATASET '/dev/null' FOR OUTPUT FILTER w_command.
       CLOSE DATASET '/dev/null'.
    ENDIF.
    Regards,
    Prabhudas

  • PI 7.1 File & JMS Adapter stops polling at random times

    Hi All,
    IN PI 7.1, at random times, the File Adapter stops polling. But status is green in RWB.
    It starts working after the restart of File Service.
    Any idea why this happens? (We don't use FTP Protocol)

    Yes Ravi. We recently migrated to PI 7.1 from PI 7.0.
    We dont use AAE.
    We are on Support Pack 7.
    "Adapter Framework is changed in handling threads on the backend in SAP PI 7.1"
    what impact it might have on the File Polling?

  • JMS Sender Channel not Polling

    Hi Guys,
    Scenario: BEA Weblogic -
    > JMS Queue -
    > Sender Channel JMS -
    > SAP XI -
    > SAP R3
    We had initially setup this scenario using MessageSelector because the provider JMS Queue had mutiple message types on it. As Murphy's law would have it, the MessageSelector stopped polling the day before go-live. Basically, if we pointed one JMS SC to the provider JMS Queue using MessageSelector it worked fine, if we pointed multiple JMS SC's no messages were being picked up from the queue. We still haven't identified why the MessageSelector functionality stopped working but as a quick work around to MessageSelector before go-live we used blog:
    [/people/robert.warde3/blog/2009/03/18/pi-basics-generic-message-interface|/people/robert.warde3/blog/2009/03/18/pi-basics-generic-message-interface]
    Now we have a situation where, BEA Weblogic manages the provider JMS Queue & they perform a health check 4 times a day & if they encounter a problem they bounce the server & JMS Queue service. XI and the SC seem to re-connect fine most of the time when Weblogic & JMS Queue is back up but there are times when I see a green light in RWB for the SC but it's not polling for messages on the JMS Queue. We use Hermes JMS to monitor messages on the Queue to check if there are in fact messages to be picked up & the messages are queued.
    What I'm looking for is a best practice guide for how to manage this. I don't want to keep toggling between Hermes JMS & RWB to verify if the SC is in fact polling messages altho' it shows as green in RWB. Please advise. Thanks.
    Regards, Trevor

    Thanks Kai & Joel.
    Joel, I'm not really looking to add another layer with the JMS Connector Service. For me it's just adds another possible point of failure. At the moment the message passes thru 5 systems including SAP R3 & end system & then the response comes back the same route.
    Going out from SAP, the Receiver channel to the JMS queue seems to work fine. With the responses coming back, the Sender Channel seems to re-connect ok (I'm assuming) otherwise it wouldn't be green in RWB but doesn't pick up any messages. It's also an intermittant phenomenon. Manually stopping & re-starting the Sender Comm Channel fixes the problem but we won't know if there's a problem until we check if messages are being picked up from the queue.
    Kai's notes led me to some things I could possibly look at like additional parameter in JMS channel config, CONNECTION_TEST_POLL (note 948016). I'm still not sure how we can make this work for us because we essentially need to bounce the JMS channel so it starts polling again in the event of a JMS Queue Provider bounce but I need to first establish that the JMS Queue was bounced.
    Note 1088675 will also be irrelevant cos the channel looks like it re-connects, just doesn't poll.
    Trevor

  • MDM lookup parameters from File Sender Channel

    Hi SDNers,
    In my current assignment I am required to make an SAP MDM lookup in a JAVA Mapping to fetch certain details to further process the message.
    Currently the MDM server details along with user id and password are maintained in a properties file.
    During Migration from Development to Quality or from Quality to Production Environment this properties file needs to be changed and the mapping needs to be reimported individually in each environment.
    I want to avoid this cumbursome task of changing the properties file and re importing the Java Map on each environment.
    Is there any way to mention the following 3 parameters in the Sender Channel itself (in my case it is FIle Channel)
    Server IP Address, User ID, Password? so that the Java Map at runtime can access these parameters from the channel, as each environment will have different channel.
    I don't know if I can use ASMA or Additional Parameters for achieving this.
    Regards,
    Gautam Purohit

    Hi Michal,
    Can you please elaborate this?
    I need to give parameters like;
    mdm.repository.host=Development_Server
    mdm.repository.name=Development_Rep
    for all three environments.
    How can I achieve this using Value Mapping?
    Regards,
    Gautam Purohit

  • How  to read all files  under a folder directory in FTP site

    Hi Experts,
    I use this SQL to read data from a file in FTP site. utl_file.fopen('ORALOAD', file_name,'r');
    But this need to fixed file name in a directory. However, client generate output file with auto finename.
    SO do we have any way to read all file by utl_file.fopen('ORALOAD', file_name,'r');
    We need to read all file info. because client claim for security issue and does not to overwirte output file name,
    we must find a way to read all file in output directory.
    Thanks for help!!!
    Jim

    If you use Chris Poole's XUTL_FTL package, I believe that contains functions that allows you to query the directory contents.
    http://www.chrispoole.co.uk/apps/xutlftp.htm
    Edited by: BluShadow on Jan 13, 2009 1:54 PM
    misread the original post

  • Channel stopped polling

    Hi,
    I have two channel configured that uses file adapter to pull files from a ftp server.The general settings in both the channel -FTP parameters,Processing parameters with a polling interval of 300 secs, are same.Both differs only in the specific settings - Content conversion parameters.
    But the problem is one channel polls the server every 300secs,but the other not.
    This is behaving like this for the first time because it used to poll regularly some time before.
    I have checked for the queues,no LUWs.
    Refreshed the cache in SXI_Cache - Delta refresh
    As a temporary solution,i'm start/stopping the channel every time i saw files piled up in the server.The channel picks all the files seen in the server at the time of restart but after few seconds it fails to poll again,and a restart is required every time the file not picked.
    I'm a newbie to XI.Please could anyone help me.
    Note : the directory from which it is pulling the file is loaded with too many irrelavant files.Could this be a problem.

    The status is green : Communication channel is correctly configured and started
    The details seen in CC monitoring for the channel with problem:
    Last administration: Started at 5/30/07 7:00:15 AM 
    No error information for administration is available 
      5/30/07 7:11:43 AM   Processing started
      5/30/07 7:11:43 AM   Processing finished successfully
      5/30/07 7:11:33 AM   Processing started
      5/30/07 7:11:33 AM   Processing finished successfully
      5/30/07 7:11:26 AM   Processing started
      5/30/07 7:11:26 AM   Processing finished successfully
      5/30/07 7:11:20 AM   Processing started
      5/30/07 7:11:20 AM   Processing finished successfully
      5/30/07 7:11:13 AM   Processing started
      5/30/07 7:11:13 AM   Processing finished successfully
    Details for the channel which has no problem :
    Last administration: Started at 5/24/07 3:26:32 PM 
    No error information for administration is available 
      5/30/07 8:36:37 AM   <b>Polling interval started. Length: 300.0 seconds</b>
      5/30/07 8:36:37 AM   Processing finished successfully
      5/30/07 8:36:32 AM   Processing started
      5/30/07 8:31:38 AM   <b>Polling interval started. Length: 300.0 seconds</b>
      5/30/07 8:31:38 AM   Processing finished successfully
      5/30/07 8:31:32 AM   Processing started
      5/30/07 8:26:37 AM   <b>Polling interval started. Length: 300.0 seconds</b>
      5/30/07 8:26:37 AM   Processing finished successfully
      5/30/07 8:26:32 AM   Processing started
      5/30/07 8:21:37 AM   <b>Polling interval started. Length: 300.0 seconds</b>
    If you could see,the polling is not seen in the problematic channel

Maybe you are looking for

  • No Audio Output Device - HP Pavilion DV6707us

    I, like many I have read about, am having an issue with the audio on my work laptop. It is an HP DV6707us running a Windows 7 64-bit operating system. The issue is basically this; an intermittent failure of my audio device. Scenario 1: Most times, I

  • How do I set iCal so that my alarms go off when in sleep mode?

    I'm pretty sure that I can set iCal to open a program (iTunes) as an alarm while the computer is in sleep mode but I can't find the setting. This morning it didn't go off while in sleep mode. Does anyone know how?

  • Managing reports on LMS 4.2.1

    Hi, I was just wondering if you could help - we have around 20 reports running on CW and we would like to delete/remove these scheduled reports - I've been looking through CW and I can't find the area where it will allow me to remove the actual repor

  • MM - service-based IV

    Hi gurus, please can anyone  tell me where i can find the place in the  customizing where i can show the srv-based iv on PO item ? I looke for it in the "Define Screen Layout at Document Level" on PO but i do mot find it. Thanks in advanced. best reg

  • "itunes cant read your ipod" please help :(

    my ipod died so I plugged it into my computer, like usual, to charge and when I came back there was an error message that read: "iTunes cannot read the contents of the iPod "mine". Go to the Summary tab in iPod preferences and click Restore to restor