Duplicate messages being recv'd

I have an application that uses a servlet to receive messages, and return
          responses to a web based client. When the processing of the message takes
          too long ( over 5 mins ) due to a sub-system hang, my servlet recv's a
          duplicate copy of the original message. Does anyone have any idea about what
          might be going on?
          

It's WLS 6.1 sp2
          "Vinod Mehra" <[email protected]> wrote in message
          news:3d052241$[email protected]..
          > Can you tell me which version of plugin/weblogic are you using. Plugins
          > should not
          > failover if they wrote headers already to the client.
          >
          > --Vinod.
          >
          >
          > "Paul Loht" <[email protected]> wrote in message
          > news:3d0518e7$[email protected]..
          > > > Is there any proxy in between (eg. webserver plugins)?
          > >
          > > Bingo. Just found the solution: HungServerRecoverSecs.
          > >
          > > If this value isn't present in the iisproxy.ini file, apparently the
          value
          > > defaults to 300 secs, aka 5 mins. When a response wasn't being recv'd,
          the
          > > proxy was resending it to the app server.
          > >
          > > Thanks for your response.
          > >
          > >
          >
          >
          

Similar Messages

  • Duplicate messages in sender mail adapter

    Hi,
    We are using the sender mail adapter to retrieve messages from an IMAP mail server. Messages are being picked up correctly, but when we have large messages (with e.g. PDF attachments) things go wrong.
    The time it takes to retrieve the mail message is longer than the poll time. In this case the adapter logs in again in the mail server to retrieve the first new message from the inbox. However the first adapter threat is already retrieving that message. This results in a duplicate message in XI. (messages are set to be deleted when read).
    We have tried all kind of settings in the adapter but without any results. The adapter works fine with very small messages.
    Does anyone recognize this problem? 
    PS. please do not post links to sap help or the mail adapter FAQ. Useful answers will be rewarded.
    Thanks,
    Christiaan Schaake

    Hi Christiaan !
    I understand your problem. Could you set your IMAP account to avoid multiple simultaneous sessions?? maybe if there is only one session allowed per user or per time, then parallel XI threads will not be able to start downloading the messages.
    If you cannot use a longer poll interval, then you could develop an adapter module for the Mail sender adapter that could be used to verify if the current mail is just being downloaded by other thread. This adapter module could check the unique mail data (date/time + subject + etc.) against a local table.
    Regards,
    Matias.
    PD: please award points if helpful.
    Message was edited by:
            Matias Denker

  • How to remove duplicate messages from Mail in Mavericks (POP)

    Hello
    I'm having some significant problems with Apple Mail, and despite having researched widely, I haven't been able to find a solution yet. Here is my tale of woe...
    My set up is that I use Mail with 5 separate accounts, downloading all messages using POP. I keep all my mail so that I have a permanent record of all conversations, going back more than 10 years - this is about 250,000 emails. I'm running the latest version of Mavericks on a 2010 MBP. I have no intention of moving to IMAP - I need to keep a local archive of all my mail.
    A few months ago I was having problems with Mail being very slow to load and search emails. I decided to rebuild the mailboxes, but afterwards discovered that thousands of messages in the inbox of one of my accounts (and some of the sub-folders) had disappeared. Once I realised I tried to go back to a recent Time Machine back up, but, for whatever reason, that part of the back up hadn't worked properly and I was unable to recover the previous status. Ileft it while I decided what to do, and had time to deal with it.
    The last 2 years worth of emails on that account were still archived on gmail, so last week I decided to try redownloading the whole lot (something like 72,000 messages), and then uplanned to use one of the scripts I was aware of to remove the duplicates to the trash, and then remove any duplicates in the trash forever. That ought to mean I at least had an archive of the last two years of missing messages, even if I had no record of which ones had been flagged or replied to, etc.
    The downloading took about 24 hours to complete, and I now have almost 70,000 messages in the inbox of that account. However, I hadn't figured on two things:
    1. Mail 'hides' duplicate messages, meaning that all of the messages I've downloaded are showing as unread, and I can't differentiate the ones I already had in my Inbox, and the new downloads. When I click on those apparently unread messages I can see if they have been replied to or forwarded, etc, but there's no obvious way for me to remove the ones I have already dealt with to the trash, without going through them all manually, which is clearly impossible.
    2. The scripts I'd found for removing duplicates don't work. Andreas Amann's Remove Duplicates script doesn't work under Mavericks, and he has abandoned the project. I've also tried the remove-duplicate-messages.scpt made by Jolly Roger (http://jollyroger.kicks-***.org/software/), and while it *sometimes* works on individual subfolders on my Mac (but as far as I can tell removes the duplicate in that folder, rather than the newly downloaded version), mostly it doesn't work at all - it creates a 'Remove Duplicate Messages' folder on my desktop, a log inside it and a folder for removed messages, but nothing appears in the duplicates folder.
    So, I'm left in a position where I have 70,000 apparently unread messages in my Inbox, a massively bloated Mail library (which has pretty much doubled in size), a slow and unresponsive Mail program. I figure I have a number of options. Either I could abandon the last week's efforts and revert to the version of

    Apologies, this was posted here in error. Please find updated post here: https://discussions.apple.com/message/27261965#27261965

  • Duplicate Message ID issue in case of Multi mapping (without BPM)

    Hi Experts,
    I am doing one sample Example for my requirement of converting the single source message data into the multiple Target messages.
    for example, when sender system is sending the 5 sale order details into a single message in PI then my Inbound proxy class of ECC R/3 receiver system must get this sale orders separately, that means inbound proxy class method must be triggered separately for 5 sale orders from sender system. for achieving this, I have used the Multi mapping concept in ESR (without BPM).
    This scenario is in Asynchronous mode.
    The below screen shots give the details on what I have configures so far.
    IN ESR
    IN ID
    IN SXMB_MONI of PI
    IN SXMB_MONI of ECC R/3 Receiver system (Error in Processing)
    due to this error, inbound Proxy class method is not being triggered for the single Sale order details as well,
    please let me know how to tackle this duplicate message ID issue when we have multiple payloads to process in a single message.
    please also let me know if is there any other workaround to fulfil this requirement.
    Thank you,
    Regards,
    Jagesh

    Hi Nunu,
    Check the below blog for restrictions.
    Multi-Mapping without BPM - Yes, it’s possible!
    Restrictions
    Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
    Regards,
    Praveen.

  • Duplicate messages in search results (when using Smart Mailboxes, etc)

    I've recently started using Search Folders more and more in Mail.app
    I've encountered this very annoying bug/feature, where duplicate messages show up in a search (inside Mail). The duplicate messages are showing up multiple times (once, for each Smart Mailbox they reside in) as well as their physical Mailbox, as well as "All Mail".
    The lowdown:
    Mac OS X Leopard (10.5.4 Build 9E17)
    Dual 1.25 GHz PowerPC G4 -----(shut up! it still rocks w/my multiple 23'' apple displays)
    2GB RAM
    Mail.app Version 3.3 (926.1/926)
    This feature/bug makes it VERY difficult to find things when I'm forced to sift through at least 3 copies of any message that appears in Smart Mailboxes.
    Should I stop using Smart Mailboxes because this is a deliberate feature?
    Any suggestions or thoughts would be GREATLY appreciated.
    In a search, I think that a better way to display the multiple locations (through Smart Mailboxes, etc) that a mailbox "appears" would be to add something to the header section of a message, below everything else, or off to the right, which would indicate the Original (physical) folder a message exists in, as well as it's locations via Search Folders. This would at least eliminate the problem where they're showing up as two, three, or more COPIES within a search.
    Thanks,
    Jackson

    Hi Christiaan !
    I understand your problem. Could you set your IMAP account to avoid multiple simultaneous sessions?? maybe if there is only one session allowed per user or per time, then parallel XI threads will not be able to start downloading the messages.
    If you cannot use a longer poll interval, then you could develop an adapter module for the Mail sender adapter that could be used to verify if the current mail is just being downloaded by other thread. This adapter module could check the unique mail data (date/time + subject + etc.) against a local table.
    Regards,
    Matias.
    PD: please award points if helpful.
    Message was edited by:
            Matias Denker

  • CFMAIL sending duplicate messages

    I am using ColdFusion 11 on a Windows Virtual Server 2008.  The CFMAIL tag is producing duplicate messages (3 each time with IE11 and 2 each time with FireFox.  Numerous tests have produced the same results.  I tested with and without the mail spooler enabled - no change.  The code is simple. no loops, no query, no double-click of the 'send' button.  I have seen other complaints about this in other forums with the only solution being "to disable CF scripts that start/stop the mail spooler".  1) Does anyone have a suggestion?  2) How would I disable the CF Script to start/stop the spooler?  Robert

    RM, not your answer, but note that you’ve asked this on the CFBuilder forums. That’s the CF IDE (integrated development environment, or editor).
    You will want to ask this on the CF Forum or one of its subforums instead (perhaps the ColdFusion Server Administration one). It and they are listed at https://forums.adobe.com/community/coldfusion.
    /charlie

  • Duplicate Messages sent

    Hi there,
    I am trying to figure out why I receive duplicate messages from my message queue. We have our Entity Beans send out messages when their state changes. When the beans are deployed first, and their state changes, only a single message is sent out, but if the state of the bean is changed again, then multiple messages are sent out. I guess the message queue does not get flushed after the delivery of the messages. Can any one shed some light on this issue?
    Here is my client code, which is gui.
    try {
    TopicConnectionFactory factory = serviceLocator.getTopicConnectionFactory("jms/TopicConnectionFactory");
    Topic topic = serviceLocator.getTopic("jms/jtTopic");
    TopicConnection connect = factory.createTopicConnection();
    TopicSession session = connect.createTopicSession(false, Session.CLIENT_ACKNOWLEDGE);
    TopicSubscriber subscriber = session.createSubscriber(topic);
    subscriber.setMessageListener(this);
    System.out.println("Listening for messages on topic/rhythm-employee...");
    // calls onMessage();
    connect.start();
    } catch (NamingException ne) {
    ne.printStackTrace();
    } catch (JMSException jme) {
    jme.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    And here is the onMessage code:
    public synchronized void onMessage(Message message) {
    try {
    ObjectMessage oMsg = (ObjectMessage) message;
    String jobName = oMsg.getStringProperty("jobName");
    String scnName = oMsg.getStringProperty("scnName");
    if (oMsg.getStringProperty("actionType").equals("scene")) {
    SceneTO sceneTO = (SceneTO) oMsg.getObject();
    System.out.println("Scene Name: " + sceneTO.getSceneName());
    final Object obj = oMsg.getObject();
    Hashtable hash;
    if (obj instanceof SceneTO) {
    JTBase.jobLock.lock();
    hash = (Hashtable) JTBase.Jobs.get(jobName);
    if (!hash.containsKey(scnName)) {
    hash.put(scnName,new Hashtable());
    hash = (Hashtable) hash.get(scnName);
    if (!hash.containsKey("Scene Info")) {
    hash.put("Scene Info",new Hashtable());
    hash = (Hashtable) hash.get("Scene Info");
    if (hash.containsKey("data")) {
    hash.remove("data");
    hash.put("data",obj);
    JTBase.jobLock.releaseLock();
    // Refresh if needed
    if(JTBase.jobName.equals(jobName) && JTBase.scnName.equals(scnName)) {
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    updateHeader(obj);
    if (JTBase.tabName.equals("Scene Info")) {
    updateMain("Refresh");
    oMsg.clearBody();
    message.acknowledge();
    } catch(JMSException jmsE) {
    JTBase.jobLock.releaseLock();
    jmsE.printStackTrace();
    Thanks in advance
    -r

    Hi,
    <rhajikhani1>
    When the beans are deployed first, and their state changes, only a single message is sent out, but if the state of the bean is changed again, then multiple messages are sent out
    </rhajikhani1>
    Does this not sound like a problem at the sending-side (your Entity Bean) rather than the receiving-side (the GUI code you have below).
    You say that when the Entity Bean is deployed it sends one message which (I assume) is handled OK by the GUI code. Then, when the Entitiy Bean changes it starts sending multiple messages, isn't this a problem with the Entity Bean message sending code?
    Anyway, if you are sure it is the receiver side I suggest placing a try catch (Throwable) around the code in the onMessage and printing the stack trace. At the moment you only catch JMSExceptions. The reason I say this is that maybe the message.acknowledge line is not being called which has resulted in a redelivery for some reason.
    I can see several points in your code where a NullPointerException could be raised which would result in the message not being acknowledged. For example if the message does not contain the property "scnName" then a NullPointerException will be thrown by the call to hash.containsKey(scnName). If you were to catch Throwables then you can tell if there is a problem with the onMessage method (or the messages it is receiving).
    Hope this helps,
    Tom Jenkinson
    Arjuna Technologies Limited

  • HT2500 Some months ago, my Apple Mail started downloading duplicate messages every time it checked for mail. It doesn't happen to my gmail, but happens to my POP account. What happened or what did I do to cause this and how do I stop the downloading of du

    How do I get Applemail to stop downloading duplicate messages.  It only started doing this 4 months ago.  It didn't happen for 5 years before and doesn't happen to my gmail account.

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Duplicate message checking for inbound idocs sent via http protocol

    When our warehouse system sends inbound WMMBXY idocs to us it appears to be checking an internal table in SAP to make sure that the message has not already been processed. This check appears to be related to a unique message ID that is originated by the DC system. This message ID does not appear in the actual idoc it appears to have been removed prior to the idoc being created.
    When we restore production data into a test environment we occasionally have problems where the warehouse system fails to post WMMBXY messages with a "Idoc already posted" type message. Can someone tell me where the file is on SAP that holds a log of already processed messages - so that in such cases I can make sure that the warehouse do not send duplicate messages.
    Many thanks, John.

    hey
    if you wanna see your messages you may look in table SXMSPMAST
    also have a look at the following thread
    In Which Database Table the Messages are Stored in XI
    Thanx
    Ahmad

  • Getting duplicate messages

              Hi,
              I have created a topic publisher and subscriber.
              When an event is generated I am getting duplicate messages
              for the same event.
              I need them to be excatly one. I think they are generating messages as atleast
              one.
              can you please help.
              thanks
              Padmaja
              

    If you are receiving 5 messages with 5 different message ids, then you are
              likely doing that yourself. When we redeliver messages (for any reason),
              the message ids stay the same. Message ids are assigned as part of the send
              call and nowhere else in the entire code base. So it sure sounds like you
              are doign multiple sends. Println goes a long way here. Instrument your
              code before every send/publish call and then print out the message id
              immediately after the call. maybe even do a new
              Exception("DEBUG").printStackTrace(), so you can see where you are doing
              it.
              _sjz.
              "Padmaja Ragavendra" <[email protected]> wrote in message
              news:[email protected]...
              >
              > No I am not using recover or rollback.
              > The message ids are different but of the same event.
              > From a session bean everytime an object(EB) changes state
              > a trasmit is called.
              > on a single state change 5 messages are being generated with different
              ids.
              > I am using publish(message).
              > I tried using delivery mode etc but still is giving the same result.
              > thanks for the reply.
              > Padmaja
              >
              >
              > "Zach" <[email protected]> wrote:
              > >are you using transactions? are you calling recover or rollback? are
              > >the
              > >message ids identical?
              > >_sjz.
              > >
              > >"Padmaja Ragavendra" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> Hi,
              > >> I have created a topic publisher and subscriber.
              > >> When an event is generated I am getting duplicate messages
              > >> for the same event.
              > >> I need them to be excatly one. I think they are generating messages
              > >as
              > >atleast
              > >> one.
              > >> can you please help.
              > >>
              > >> thanks
              > >> Padmaja
              > >
              > >
              >
              

  • TS2755 I have 2 phones on my apple id acct. And when I text message that person I am getting a duplicate message to myself. How do I stop this from happening

    I have 2 phones attached to my apple ID account and when I text message that person, I am getting a duplicate message sent back to me.  How do I stop this from happening?

    Make 3 different iCloud accounts and use ONLY for iMessage.   That will permanently fix your issue.

  • How can I Delete a MobileMe Email Account and Kill Duplicate Messages?

    When I select "All Inboxes" on my iPhone 4s, I see duplicates of each and every message I receive. Furthermore, the duplicate can't be deleted and I get an error message informing so! I suspect this phenomenon is occurring because I have both an iCloud and a MobileMe account. I want to cancel the MobileMe one.
    Here's the deal:
    My iPhone 4s lists three email accounts, including a "MobileMe" one that I want to delete because I believe it is delivering duplicate messages. However, I can't seem to figure out how to delete the MobileMe's email account or, for that matter, MobileMe itself. Apple support screens refer to cancelling a MobileMe account but are not clear on how to actually do it.
    1. On the iPhone 4s, I click on the "Mail" icon at the bottom of the screen
    2. On a screen under the heading "Mailboxes," under "Inboxes," there are two that read exactly the same (I think one is iCloud and the other MobileMe).
    3. On the same screen, under "Accounts," I see an iCloud account logo, a Bellsouth/Yahoo account logo and a MobileMe account logo.
    4. I want to keep the iCloud and Bellsouth/Yahoo accounts but delete the MobileMe one but I can find no way on this screen or any other iPhone 4s screen to do so. Nor do I see any path to do so in iTunes. And the MobileMe account doesn't even show up in the Apple email app on the laptop to which I sync my iPhone.
    If I go to www.me.com and log into my MobileMe account, there is no apparent way to disable, delete or otherwise cancel it. Why?
    I am convinced that the simultaneous presence of both iCloud and MobileMe accounts is responsible for the double email messages when I select to view "All inboxes" on my iPhone. (A workaround is to simply select just one of the accounts, say, the iCloud one. Then I see only one copy of each message. That's OK but surely there is some way to kill off this redundant MobileMe account AND the duplicate messages, yes???

    First, thanks for the reply. And, I believe you are exactly right that the names are the same. However, when I go (on my iPhone) as you suggest to "Settings," "Mail, Contacts, Calendars," only two accounts are showing; my Mac account and my Bellsouth one. If I select either, I get an option to delete but the duplicate "MobileMe" account does not appear. It only shows up, as described above, if I:
    1. On the iPhone 4s, I click on the "Mail" icon at the bottom of the screen
    2. On a screen under the heading "Mailboxes," under "Inboxes," there are two that read exactly the same (I think one is iCloud and the other MobileMe).
    3. On the same screen, under "Accounts," I see an iCloud account logo, a Bellsouth/Yahoo account logo and a MobileMe account logo.
    It's nutso, I admit, but true. Any other suggestions would be most welcome.

  • HT1495 How do I stop SMS messages being shared between multiple iphones on my itunes account? One is my wife's, one is mine and we do not want each others messages appearing on the other.

    How do I stop SMS messages appearing on two devices on my iTunes account?
    One phone is mine, one is my wife's and we dont want messages being shared.
    We do have contacts and music etc shared.

    If your are recieving mixed information on your phone on multiple devices this is going to be related to iMessage.
    On your phone navagate to settings > messages > send and receive.
    Check the information in that section make sure it relates to your AppleID and your phone.  If you share a AppleID with the individual create a new AppleID for their device and insert that information.
    If the numbers don't remove turn of iMessage restart your phone and turn it back it.
    If all else fails disable iMessage otherwise turning it off is the quickest fix.

  • When using Message Filters on an IMAP account I often get duplicate messages in my local folder where important messages are put. How can I stop this?

    Since switching to IMAP and using message filters, I often get duplicate messages in my local folders. I think this is a bug.
    That is my guess as to what is happening.
    When the IMAP part starts syncing with the server to fill in the inbox, the message filter system starts working before it is done syncing. I appears that the filters runs too quickly because as the filter moves a msg to a local folder, the sync thread think it need to download it again from the server. If the sync with the remote server takes a long time, I could end up with 5 or more copies of the exact same email.
    This has always happened for years now but I figured someone would have noticed it and fix it by now. Now I am wondering it it has something to do with my filters or my settings.
    Has anyone run into this before?

    Toys,
    I was just doing a search to see if anyone else was feeling this way! I am also at a university and I don't really like see thousands of unread messages in mail. (Fortunately, with Leopard you can select the dock icon to show only the messages in your inbox but I still don't like having the public folder in there).
    Please let me know if you find out anything and I will do the same for you. If I have time later I am going to run by our IT office later and ask them.

  • How can I prevent Mail from applying actions (moving/copying/flagging/marking read) to duplicate messages?

    I use Mail to check multiple accounts. When I receive the same e-mail in multiple accounts, actions applied to an e-mail in one account often (though not always) affect duplicate messages in other accounts.
    Example 1
    Someone sends an e-mail to both me and my wife. Mail is set up to check both accounts. If I open the message in my Inbox, it marks it as read in my Inbox as well as in my wife's Inbox.
    Example 2
    For historical reasons, I have chosen to have all my e-mail forwarded (by the server) to a second account, to be used essentially as an un-touched archive of all incoming mail. If I manually move a message from my main account Inbox to another mailbox, the destination mailbox will end up with 2 copies, one from my main account Inbox and the other from the "un-touched archive" Inbox (which has obviously now been altered unintentionally).
    Does anyone know of a way to prevent this behavior. I can manage my own duplicates. I don't want Mail to do it for me.
    (Btw, I already have the "AlwaysShowDuplicates" option set using "defaults delete com.apple.mail AlwaysShowDuplicates")

    There are certainly many ways of organizing things so that Mail never has to deal with multiple accounts and duplicate messages (separate user accounts, separate computers, separate mail clients, etc., etc). That's just not what I was asking. I'd like to know how to fix Mail's behavior when it does have to deal with multiple accounts and duplicate messages.
    I was hoping there might be another hidden preference or something (and by the way my original post should have said "defaults write com.apple.mail AlwaysShowDuplicates -bool true", instead of the "defaults delete ...")

Maybe you are looking for