Mailserver communication channel polling twice

Hi, we are using a mailserver communication channel. When an order is sent, it is received in the R3 system twice.
Upon investigation, we have noticed that the system is connecting twice to the mailserver.
Does anybody know any solution on why this is happening?

Hi Seshu,
this is because system had a lack of resources or some threads were blocking
the XI adapter engine from working properly. Therefore,
- Please check if MaxThreadCount parameter is set to 350 in the Visual
Administrator, as per steps below:
1. In the left frame choose Server -> Services -> Configuration Adapter
2. In the tab Display Configuration (right frame) choose Switch
between view and edit mode to activate the edit mode.
3. Choose cluster_data -> server -> cfg -> kernel -> Propertysheet
ApplicationThreadManager
4. Choose Show the detail of the selected node
5. The parameter MaxThreadCount must be set to 350.
6. Restart the J2EE after changing the value.
For more information, please refer to the note #937159 - XI Adapter
Engine is stuck
- Please increase the consumer threads for the related adapter
according to the note below.
#1084161 - Performance decrease after applying XI 3.0 SP20 7.0SPS12
In order to check this parameter, go to the Config Tool
-> server
-> services
-> com.sap.aii.af.svc service
-> messaging.connectionDefinition
-> add the template below for the required adapter type (maintain the
global and add the template separated by a comma). The example below
is for the File adapter.
Cheers
Hidayat

Similar Messages

  • 2 JMS Sender Communication Channels polling 1 MQ Queue

    Hi Experts,
    I have a situation where 2 JMS sender communication channels are polling 2 different message type data (via content conversion in JMS) from 1 MQ queue.  However adapters are having problem polling the right message from the queue.
    Is this something that is not possible?
    I know that we can possibly use 2 MQ queues - one for JMS 1 with message type 1 and the other for JMS 2 with message type 2
    OR
    1 JMS with 1 common message type with 1 MQ queue.
    But I want to confirm whether my current situation is suppose to work or not.
    Thanks,
    Jay

    >
    Jung Sun Ko wrote:
    > Hi Experts,
    >
    > I have a situation where 2 JMS sender communication channels are polling 2 different message type data (via content conversion in JMS) from 1 MQ queue.  However adapters are having problem polling the right message from the queue.
    > Is this something that is not possible?
    Maintain different queues for different message types.
    The adapters else will just pick the message that comes to the queue first based on the polling time irrespective of the message type. It is not intelligent enough
    >
    > I know that we can possibly use 2 MQ queues - one for JMS 1 with message type 1 and the other for JMS 2 with message type 2
    > OR
    > 1 JMS with 1 common message type with 1 MQ queue.
    >
    > But I want to confirm whether my current situation is suppose to work or not.
    >
    > Thanks,
    >
    > Jay
    Hope the above replies answers your question

  • Sender communication channel - Polling delay?

    Hi experts,
    We have a sender CC with polling every 6 seconds (other parameters are: connect mode permanently, ftp.timeout 180).
    Yesterday a file has been placed on source server at 00.18.00, but CC picked it up only at 00.19.18.
    Anyone knows possible reasons for this delay in polling?
    I have checked message monitoring there are no errors or connection problems, simply the start and end message date are 00.19.18 and 00.19.19.
    Other info:
    1) This source server is used also for other interfaces, and in that range of time there is no error, other files have been picked without problems.
    2) I'm pretty sure that time of source server is the same respect to XI server, I've tested that.
    Thanks
    Fabio

    Hi,
    I have also faced this isses but failed to find any solid reason for the same.
    Once i found a reason to the problem is that when the other system is trying to write the file they used temporary file names which goes from 0% completion to 100% completion and after 100% completion the exact file name is reflected. And XI only pick up the file with the exact match(after 100% completed).  So, the XI system try to hit the file multiple times for picking up for processing while the file was written by other system. On multiple hit to the file with the cc, the cc cache refresh problem occurs.
    When the cache get refreshed with some other file processing it immediatly try to hit the file and then the file is picked up.
    Also, it sometimes happened that the other system tried to write the file with a previous timestamp, the problem might inbetween other system and xilandscape.
    Cheers,
    Jay

  • Sender file communication channel polling only when the file is written

    Hi guys,
    I have the following scenario:
    I have developed an XI interface that takes a .txt file from SAP R/3's file system, usr/sap/trans/ and delivers it into another ftp location. The problem that we face is that the file is written into source directory from an ABAP program. As a result, XI go and polls into source directory when the file is not completely written, or when it is empty, which blocks the process.
    Is there a way to force XI in order to poll the source directory only when the file is complete?
    We have thought of exporting the file into a name that XI does not expect and as soon as the file is complete to rename the file from inside ABAP program into what XI expects.
    However, the command inside ABAP changed the Code page of the file and we cannot see some special characters in the file that is delivered to the ftp location.
    Any ideas??

    Hi Evaggelos,
    from <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">SAP help: Configuring the Sender File/FTP Adapter</a>:
    Advanced Mode
    To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.
    &#9679;      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
    Regards,
    Udo

  • Corrupt communication channel (FILE/JDBC) still polling "without success"

    Hi all here are a lot of questions with high priority:
    We have problems with adapter engine XI7.0SPS11.
    It looks that if there is a short connection error some of our channels are still polling (status green) but they do not get the data.
    After restart J2EE engine it works. But this is not good.
    I refreshed all caches and restarted the file and jdbc service in NWA without success.
    If I create a new communication channel and change the sender agreement it works.
    But this is only a workaround.
    Does anybody know this issue?
    Is there a way to solve it (without daily restart of J2EE engine)?
    We will patch our system to SPS18 but can we ensure that the bug is fixed?
    Currently one FTP channel get the error u201CCould not process dues to error: com.sap.aii.adapter.file.ftp.FTPEx:550 150722_ No such file or directoryu201D
    How can I refresh the channel u201Ccacheu201D so that he looses the history of polled files?
    Thanks Daniel

    Hi,
    Check  it..
    >>>>I had made some changes to the communication channel - made it active, inactive, changed the polling interval.
    After the Changes  activate  your  changes.
    Regards
    Agasthuri Doss

  • Polling Communication channel  Every 6 hours once..

    Hi..
              my sender adapter is  JDBC..  here my requirement is  I want to pick  the data from data base based on  periodic interval.. ( that means..  morning 6 AM  to 6.30 AM. . but in this time  every 5 minutes once i want to pick the data.. as well as again Afternoon 12  PM to 12.30 PM .. in this times also  Every 5 minutes once.. and again Evening 6 PM to 6.30 PM .. like this Every  six hours  i want to start my communication  channel but.. after that 30 minutes  again I want to stop the communication channel automaticallyu2026
                   for this  what can I  maintain the poll interval.. and where can we specify the start and stop timings..
    Regards
    Jian

    Hi Jain,
    This requirement can be achieved by using adaptive planning,where u can select the communication channel and then schedule it as per ur requirements
    pls check the link below for
    http://help.sap.com/saphelp_nw04/helpdata/en/44/2a1a8620323f0ee10000000a114a6b/frameset.htm
    reward points if u found it useful

  • XI Communication Channels does not poll

    Hi All,
    XI Communication Channels does not poll
    Does anyone know how to troubleshoot this?
    Actually they should pick the stuff from the SQL server, convert it to Idoc and send it to production BOX.
    Shavali

    Hi,
    Is it a problem with the JDBC adapter?
    If yes, make sure that the channel is active and that it has been started.
    ALso , make sure that the sender JDBC adapter Select Query has some valid data and actually returns some rows!
    Regards
    Bhavesh

  • Mail Sender Communication channel not polling

    Dear all,
    In our PI 7.1 Sever, we have observed a issue.
    Sender mail communication channel status is green in RWB-->Channel monitoring but the channel does not pick up any mails form the mailbox.
    After we stop and then start the channel, it is picking up the mails.
    Any pointers on the root casue for this issue and any resolution steps or any SAP Notes to implement will be of great help.
    Regards,
    Younus

    Hi,
    Is it like everytime you have to restart the mail channel again and again?
    Sometimes it happens, a quick restart will refresh the adapter cache and the messages are processed.
    So, its not a problem.
    Regards,
    Sushama

  • Sender FTP communication channel

    Hi experts,
    We have had the following problem twice with two different comm channels:
    A sender FTP communication channel stops polling for no apparent reason. There were no errors and the status remained green. After I stopped and started the communication channel in the runtime workbench the adapter picked up all the remaining files and processing finished ok.
    Anyone had this problem before? Any ideas for a solution?
    Thx,
    Philip

    Hi
    look Similar thread
    File (FTP) Adapter: stops polling
    File Adapter stops working

  • Need to use only one sender and receiver communication channel.

    Hello Experts.
    I have a scenario where in I have to use only one sender and receiver communication channel to push files from different source directories to different receiver directories.
    For Eg;
    Sender                              
    D://dir1/file1 --->                  E://dir1/File1
    F://dir2/file2 ---->                 G://dir2/file2
    H://dir3/file3----->                 I://dir3/file3.
    Can this be achieved by using pass through scenario?
    Please let me know if the requirement is not clear.     
    Thanks in advance.
    Advit Ramesh

    Hi Advit,
    I think it is possible. You have to use the Advanced Selection for Source file in the sender channel to define multiple files to be picked up. Also, the Dynamic configuration must also be enabled and used in the mapping so you can manipulate the target directory and target file name based on your source files.
    For Polling from multiple directories:
    http://wiki.scn.sap.com/wiki/display/XI/File+Sender+Adapter+-+Polling+Multiple+Directories
    Dynamic Configuration:
    Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki

  • XI Communication Channel Error Explanation

    Hi All,
    Does anyone happen to know :-
    1)  Is it possible to use CCMS to email the errors coming from a communication channel error Explanation field
    2)  Are these messages stored in a table I can check
    The reason I need to know this is because we sometimes encounter an error such as "Conversion of file content to XML failed at position 838: java.lang.Exception: ERROR converting document line no. 839 according to structure 'XXX_XXX_XXX':java.lang.Exception: ERROR in configuration / structure 'XXX_XXX_XXX.': More elements in file csv structure than field names specified!
    This tells us exactly where the error occurred but using Communication Channel Monitoring the error message only remains for a little while before the polling messages remove it from the display.  Since the process runs early hours of the morning we never get to see these messages.
    Any help appreciated.
    Thanks
    Craig

    Hi Raquel,
    Let me try to clear out some things in this thread . First of all you do your alert configuration which you say you have already done. Thats good . Now you ask that you want only to monitor the communication channels and you want specific guide . Here is the specific guide.
    If you have configured alerts you will know that when you create an alert rule you have the option to choose radio button where did the error occur it could be no restriction , integration engine or adapter engine. You need to choose adapter engine.
    Now whenever the colour of the lights change to red. You will get your alerts.
    Regards
    joel
    Edited by: joel trinidade on Apr 9, 2009 9:41 AM

  • SMTP Receiver Communication Channel error: connection refused

    Dear all.
    When migrating processes from XI 3.0 to PI 7.1 we run into the problem that we can't get the SMTP Receiver Communication Channel working on PI. We get the following error in Communication Channel Monitoring:
    Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.net.ConnectException: Connection refused: connect
    (The NetWeaver Administrator log shows the following:
    unable to call the mailer: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.net.ConnectException: Connection refused: connect)
    - We copied all configuration settings 1-on-1 from XI to PI, and double-checked we made no mistakes.
    - We confirmed the PI system can in fact reach the mailserver by successfully sending Email from the ABAP stack of the PI system (transactions SOST and SCOT)
    - When deliberately mistyping the mailserver URL, we get the error: java.net.UnknownHostException. This makes me believe that the 'connection refused' error we get (after re-entering the correct mailserver URL) is indeed coming from the mailserver. But why would it refuse the connection if it allows the connection from the ABAP stack of the same server? And why didn't we run into any such problems on XI?
    Any help is much appreciated!
    Kind regards,
    Eddy Driessen.

    Hi All,
    We have upgraded our XI3.0 system to PI7.1 and currently performing testing for different adapters. We are also facing similar problem for a scenario File to Mail
    19.11.2010 11:31:56     Error     Mail: error occured: java.net.UnknownHostException: [url]
    19.11.2010 11:31:56     Error     Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException
    19.11.2010 11:31:56     Error     Adapter Framework caught exception: Failed to call the endpoint
    19.11.2010 11:31:56     Error     Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to:                     com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null " null"];                     nested exception caused by: java.net.UnknownHostException: [url].
    19.11.2010 11:31:56     Information     The message status was set to WAIT.
    *[url] = Mail server
    Can anyone suggest the steps to solve this error
    Thanks
    Varun

  • JDBC Sender Communication channel stop working

    Hi all,
    I'm facing with a strange problem: I have a db to db scenario (SQL server to Oracle) that has been tested and that was working properly.
    But when we started again our tests after some days, without doing any change, the flow didn't start anymore. The problem is in the sender jdbc communication channel:
    creating it again with a NEW NAME, and changing the configuration the flow starts again. I try to explain the checks that I did:
    - from the runtime workbench the adapter looks ok: green and making polling to the db (obviously without select any record even if we were sure that the select condition was satisfied by some records).
    - I tried to simulate some changes re-activating the communication channel.
    - clear cache
    Nothing was working,the only solution was to re-create the cc with a new name (deleting the old one and creating a new one with the same name is not working as well). But we cannot consider this solution in a production system.
    I have several scenarios like this and this problem happened three times in some months and every time with the jdbc sender from SQL server (never with the sender from Oracle).
    There is someone that has any suggestion?
    Thanks in advance,
    Luciana Agostini

    Hi Luciana,
    There is nothing that you could do in PI that could help because most of the places where there could be a problem like cache or with adapter statuses you have already looked into . For the sake of a second opinion see what prateek srivastava has to say.
    Basically a n/w connection problem or at the SQL db level.
    Rgds
    joel

  • JMS (Sender Communication Channel) and MQ in Mainframe (Legacy) System

    Hi All,
    Can we use JMS Sender Communication Channel in XI that runs on Windows 2003 server to DIRECTLY poll messages from MQ in Mainframe (Legacy) system??
    I understand that we can install MQ on XI server and have mainframe push the messages to XI MQ so that JMS can poll but wanted to see if there is a way to do this without having MQ on XI server.
    If you know of any documentation regarding this, can you please post it?
    Thanks,
    Jay

    Jung,
    Are you looking for this help:
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    Also check this sap help:
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    ---Satish

  • Sender Communication Channel going down

    Hi Experts,
         We are on XI 7.0 with patch level SP12. We are having one problem. when we are starting the Sender JDBC communicaton channel it is working fine for the first time. but the moment there is any change in the sender or Receiver RFC communication channel. may be due to wrong system ID etc. the Sender JDBC channel goes down. Actually it shows it is running but it does not poll / pick up any records.
    pl. note that subsequent changes which we had done to either to Sender JDBC channel or Receiver RFC has been rectified & re-deployed.
    This problem get solved if we create a New Sender JDBC Channel.(But i guess that should not be the soluation)
    I have used the following Modules in Sender JDBC channel.
    AF_Modules/RequestResponseBean
    localejbs/CallSapAdapter
    AF_Modules/ResponseOnewayBean
    Pl. Help.....
    Regards,
    Umesh

    Does it go down even if a message is processed succefully or just if there is some error with the configuration?

Maybe you are looking for