Re: Constant Message Redelivery Problem

You can get redelivery for other reasons as well. Redelivery occurs if the message is
          participating in a transaction, and the transaction fails for any reason.
          For example, if the MDB in turn calls an EJB which in
          turn calls JDBC then the tx becomes two-phase. If the JDBC call fails then the tx
          will roll back. Or if the tx times-out: the default tx timeout is 30 seconds, so if
          the MDB takes longer than 30 seconds then the tx will roll-back and message the will
          get redelivered.
          Even if the tx succeeds, in some cases you may have error states that re-enqueue the
          received message but let the transaction commit (WLI, BEA's integration product, can do
          this).
          This looks like the redelivery of a failed message, but is actually the delivery of a new
          version.
          Duplicates occur if a Queue MDB's descriptor actually points at a topic destination.
          Check for this one by comparing the JNDI name in config.xml against the
          descriptor destination type field...
          Tom
          sunshine wrote:
          > I encountered the same problem of repeat message delivery. In our situation, we are
          > using JMS JDBC Store and when the database goes down and comes back up, the MDB starts
          > processing messages but the messages keep recycling in the JMS Store.
          >
          > The MDB code tried catching all possible exceptions like RuntimeException and Exception.
          > None of these exceptions are logged. When we re-start the WL managed servers, those
          > messages in the JMS Store were flushed off.
          >
          > Any idea what caused the repeat message redelivery?? Thanks.
          >
          > Tom Barnes <[email protected]> wrote:
          > >Your MDB may be throwing a RuntimeException, which forces message
          > >redelivery. Put a try/catch/Throwable in the outermost scope of your
          > >onMessage() code to see if this is case.
          > >
          > >Note that in 6.1 and up you can configure redelivery delays, max redelivery
          > >counts and error destinations to alleviate this problem...
          > >
          > >Tom
          > >
          > >Toad wrote:
          > >
          > >> I have a message-driven bean listening on a message queue and everything
          > >> appears to work the first time the message is sent. The message is processed
          > >> and the OnMessage method returns without incident. There are no errors
          > >and
          > >> no exceptions are thrown by the JMS client or in the MDB itself. PROBLEM:
          > >> Message continually redelivered pegging the CPU at 100%. Inspection of
          > >the
          > >> JMSSTORE and JMSSTATE reveals messages still queued. Any ideas?
          > >
          

And make sure that your MDB is not throwing Errors or RuntimeExceptions,
          as these don't necessarily get logged, but they cause rollbacks.
          Put a "try {} catch (RuntimeException re)
          { log; throw re; } catch (Error er) { log; throw er; }"
          around all the code within the MDB's "onMessage()" callback
          to see if this is happening.
          Manikyala Peddi wrote:
          > Hi,
          >
          > I have a MDB which is calling an EJB. The redelivery override period was set at 60 sec.
          >
          > Before completing the first message the same message is redelivered.The processing time in onMessage in MDB takes more than the Redelivery Override Period. Is there a way to prevent the delivery of the duplicate message before completing the first message.Iam using Weblogic 7.1
          >
          > Thanks
          >
          > Manikyala
          

Similar Messages

  • Message Redelivery

              Hi there,
              I would like to know how to set the JMS Message Redelivery from a server restart
              to only redeliver message after all the weblogic startup classes have completed?
              The reason for this is because the message consumer(s) depend on some configuration
              setting that are setup by the startup classes and I am getting problems during a
              server restart because the container is trying to redeliver the persisted message
              BEFORE the startup classes have completed there execution.
              Thanks!
              Vincent
              

    Another approach would be to have your startup class spawn it's own thread
              (that contains code to deploy your MDB application) and do a JMX call to
              query if the server is up and listening (meaning that all services have been
              deployed). The JMX call could be in a loop with a sleep interval. Once the
              server is up the thread can deploy your MDBs. This way you don't have to
              worry about your MDBs consuming all available threads.
              To deploy the application using JMX, you could use code like the below. The
              following code also makes sure that the config.xml is not updated so that
              you can achieve a custom deploy every time your server is re-cycled.
              public class ApplicationDeployer implements Runnable {
              private MBeanHome home;
              private TargetMBean targetMBean;
              private ApplicationMBean appMBean;
              private WebLogicObjectName targetObj;
              .... include methods to start the thread and check if the server is up
              public void doDeploy() {
              ComponentMBean deployBean = null;
              try
              ApplicationMBean appMBean = (ApplicationMBean)
              home.findOrCreateAdminMBean(appName, "Application", domainName);
              appMBean.setPath(appPath);
              if (deployFileName.indexOf(".jar")>0){
              deployBean = (EJBComponentMBean)
              home.createAdminMBean( deployAppName ,
              "EJBComponent", domainName, appMBean);
              } else if (deployFileName.indexOf(".war")>0){
              deployBean = (WebAppComponentMBean)
              home.createAdminMBean( deployAppName ,
              "WebAppComponent", domainName, appMBean);
              if ( Double.valueOf(getVersion()).doubleValue() > 6.0 )
              deployBean.setPersistenceEnabled( false );
              deployBean.setURI(deployFileName);
              deployBean.addTarget(targetMBean);
              appMBean.addComponent(deployBean);
              appMBean.deploy();
              appMBean.load();
              catch (Exception e){
              System.err.println("Exception at AppDeployer.doDeploy " , e);
              Thanks,
              Adarsh
              "Tom Barnes" <[email protected]> wrote in message
              news:[email protected]...
              > The messages on boot are not "redelivered" messages (there is no matching
              > recover/rollback in the current server's context), so a delay has no
              effect.
              > I'm sorry if I gave the impression that a redelivery delay has an effect
              at boot time...
              > Specifically, redelivery delay configures the amount of time a message
              should remain
              > in limbo before it is made visible again after an application calls
              recover or rollback.
              >
              > You really should post to the ejb newsgroup. I think there may be some
              control
              > over startup ordering (MDB after startup classes).
              >
              > Worse comes to worse, your MDB
              > can block (wait()) until the startup class calls notify() - Just make sure
              the MDBs max
              > pool size is less than the default-thread-pool-size, or make sure to
              give the MDBs
              > their own thread pool, to prevent them from consuming all available
              threads.
              >
              > Tom
              > Vincent wrote:
              >
              > > Hi Tom,
              > >
              > > I am using WLS6.1 sp2 running on solaris. The problem I am having is
              that messages
              > > are getting reloaded and sent at the next server restart before my
              weblogic startup
              > > class has completed its execution. My onMessage() method in my
              MDB(shouldn't matter
              > > if it's a MDB or a PTP JMS consumer..?) depends on some objects that are
              initialized
              > > by the startup class. I tried setting DefaultRedeliveryDelay in the
              JMSConnectionFactory
              > > to a very long delay but that does not help.
              > >
              > > Tom Barnes <[email protected]> wrote:
              > > >By "containers" I assume you mean MDBs???? Please post your question
              to
              > > >the ejb newsgroup, along with your version and SP level.
              > > >
              > > >Tom
              > > >
              >
              

  • The message "A problem has occurred trying to process your request. Please try again later. We apologise for any inconvenience this may have caused." is displyed when I try to log on to my internet banking. Please can you tell me why?

    Since upgrading to the latest version of Firefox, I'm now getting the message "A problem has occurred trying to process your request. Please try again later. We apologise for any inconvenience this may have caused." when I try to log onto my internet banking site. This occurs after going thru the first two steps of the login process. I don't get this problem when I login to all my other bookmarked sites, or when I use Internet Explorer. I'm using Windows XP. Any suggestions? (Note: I've just reloaded version 6 of Firefox, but it's not made any difference.)

    See here  >  http://support.apple.com/kb/HT1527
    From Here  >  http://support.apple.com/kb/TS1368
    More info here  >  http://www.apple.com/support/itunes/downloading/

  • Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?

    Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • Problem with HP pavillion dv7 giving message (a problem with the internal fan enter = shutdown

    HP Pavillion DV7 notebook PC
    Windows 7 64
    intel I5
    6 gig memory
    service pack 1
    I am trying to identify a problem with my HP Pavillion dv7 laptop
    Several months ago it started getting hot and showing messages about problems with the internal fan and battery. It would say enter = shutdown and shut off. I suspected a bad battery so I checked it without it just plugging it in with the power cable. It seemed to work better so I assumed that was the problem.
    I ordered a new battery and it worked for a while. The problem came back and is getting worse. I can run it without the battery for a while but it gets got and shows the same message.
    I read on here that flashing and updating the bios worked for some but the latest update gives me an error IHISI not support BIOS then Insyde flash not supported.
    any help would be great this PC has a lot of info on it and I dont think it is a lost cause
    thanks

    Hi duddy, sorry to hear that you are having issues with your computer over heating.  I have found a document that will assist you with Restoring the BIOS.  http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c02693833&lc=en&product=5199538&tmp...
    I have also found a document that will assist you with Troubleshooting and Overheating and Auto shutdown issue.    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c03904182&lc=en&product=5199538&tmp...
    If you are still having issues, please let me know and I will be happy to offer more assistance..
    Thank you.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • In the past month or so my iPhone 5 battery is dying in hours, whereas it used to last all day at least.  Also, I am getting constant "message send failures" when texting and frequent dropped phone calls.

    Just recently my Iphone 5 battery is dying in a just a few hours, it used to last all day or more.  I'm not doing anything different with it, although I have started shutting down apps etc. to conserve battery.  I get constant "message send failures and frequently dropped phone calls. 

    My best bet would be to restore the phone. Back it up to itunes, and then reset it Factory settings. This way, any corrupt software will be removed, and you can start fresh. Make sure you back it up first. By the sounds of it, you are using the phone for business and probably need the data from it. Hope this helps!

  • Shortly after launching into itunes, it freezes and I get the following message: A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. How do I resolve this issue?

    Shortly after launching itunes, the program freezes and gives me the following message:A problem has caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. The program then closes, even if I have not completed what I am doing. How do I resolve this problem?

    That is what I thought. Cannot figure out how to turn it off, though.
    However, when I talked to her over the phone, she is definitely using Firefox. I tried to access her Internet Explorer, but it has been deactivated, I believe by Firefox.
    She primarily uses the Internet to communicate with her kids, grandkids, and great grandkids. Her e-mail account is with Yahoo Mail, and she uses Firefox to access it. Occasionally, she uses the web to look up information, and may have downloaded a virus.
    Do you think there's something in Yahoo Mail that conflicts with Firefox? Is there some remnant of Internet Explorer that needs to be deactivated? Could she have a virus?
    Any information would be gratefully appreciated. I live 7 hours away, and can only help her over the phone. I'm trying to develop a course of action that I can use with her. I know a little bit about Firefox, so need your expertise.

  • HT4061 My iphone 4s remains in recovery mode permamently. Itunes wont restore it, constant messages of error 4013 keeps coming up on screen, is there any1 out there who can help before i crack up?

    My iphone 4s remains in recovery mode permamently. Itunes wont restore it, constant messages of error 4013 keeps coming up on screen, is there any1 out there who can help before i crack up?

    Hello Sean,
    It sounds like you are constantly needing to restore your phone because it keeps going into recovery mode. Usually putting a device into recovery mode and restoring it can help isolate an issue to your iPhone hardware if an issue persists afterwards. I would try manually putting it into recovery mode and restoring it 1 more time:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    If that does not resolve it the symptoms indicate to me that it is a hardware issue causing this to happen and would seek service for it:
    iPhone Repair - Other Repairs
    https://www.apple.com/support/iphone/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • ITunes will not open, no message of problems

    iTunes does not show up whenever I click on it, and no message of problems comes onto the screen. Absolutely nothing at all happens. Help?

    See if QuickTime will open. iTunes uses QT codecs to play everything.
    Sometimes QT will give an error message, where iTunes won't.
    Also here is an article with lots more ideas to try:
    http://docs.info.apple.com/article.html?artnum=93976

  • I rented a movie (dark shadows) but I can not see it, because a message appear "Problem loading...try again later". Is not a problem connection. I tried a lot of times to watch the movie and I didn't can.

    I rented a movie (dark shadows) but I can not see it, because a message appear "Problem loading...try again later". Is not a problem connection. I tried a lot of times to watch the movie and I didn't can.
    Thanks
    Celeste

    I rented a movie (The Hobbit)...but  it stops loading.
    The movie costs CHF 7.50.
    A phone call to the support team costs CHF 46.-- !!!!!
    What do you think I will do?
    Pisella Verde

  • Constant IP Profile Problems

    Good Morning Everyone,
    I seem to have constant IP Profile problems where I have to keep contacting the Broadband Helpdesk to get the IP Reset every few weeks.  It seems to do it if the weather is bad (like over the past couple of days) or if i watch videos streamed from  YouTube.  I told the operator this the last time i called, but it was just dismissed and they just reset the profile.
    Last night everything seemed so slow, so i ran a speedtest and yep the profile has dropped again and has been set to 2mbps.  I connect at 8mbps and normally my download speed is around the 7.30mbps mark.  What could be causing this?
    Many Thanks, Steve  
    Here's my first lot of settings as requested;
    BT Speedtest Results (Current - Normal Socket)
     Download speed achieved during the test was - 2.1 Mbps
     For your connection, the acceptable range of speeds is 0.4 Mbps-2 Mbps.
     Additional Information:
     Your DSL Connection Rate :8.13 Mbps(DOWN-STREAM), 0.45 Mbps(UP-STREAM)
     IP Profile for your line is - 2 Mbps
    Quiet Line Test (Current - Normal Socket)
    Call break up when first connected, slight crackling and hissing
    Connection Plate
    Master Plate with Test Socket, but no seperate microfibre socket.
    Home Hub Version
    BT Home Hub v2 with Broadband Telephone
    ADSL Stats (Current - Normal Socket)
    Line state
    Connected
    Connection time
    0 days, 0:39:41
    Downstream
    8,128 Kbps
    Upstream
    448 Kbps
    ADSL settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    ITU-T G.992.1
    Latency type
    Fast
    Noise margin (Down/Up)
    5.9 dB / 22.0 dB
    Line attenuation (Down/Up)
    21.0 dB / 12.5 dB
    Output power (Down/Up)
    19.8 dBm / 11.9 dBm
    Loss of Framing (Local)
    22
    Loss of Signal (Local)
    2
    Loss of Power (Local)
    0
    FEC Errors (Down/Up)
    0 / 0
    CRC Errors (Down/Up)
    0 / 2147480000
    HEC Errors (Down/Up)
    nil / 0
    Error Seconds (Local)
    2

    BT Speedtest Results (Test Socket)
     Download speedachieved during the test was - 2.05 Mbps
     For your connection, the acceptable range of speeds is 0.4 Mbps-2 Mbps.
     Additional Information:
     Your DSL Connection Rate :8.13 Mbps(DOWN-STREAM), 0.45 Mbps(UP-STREAM)
     IP Profile for your line is - 2 Mbps
    Quiet Line Test (Test Socket)
    Very slight crackling and hissing
    ADSL Stats (Test Socket)
    Line state
    Connected
    Connection time
    0 days, 0:15:12
    Downstream
    8,128 Kbps
    Upstream
    448 Kbps
    ADSL settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    ITU-T G.992.1
    Latency type
    Fast
    Noise margin (Down/Up)
    6.0 dB / 22.0 dB
    Line attenuation (Down/Up)
    21.0 dB / 12.5 dB
    Output power (Down/Up)
    19.8 dBm / 12.0 dBm
    Loss of Framing (Local)
    34
    Loss of Signal (Local)
    3
    Loss of Power (Local)
    0
    FEC Errors (Down/Up)
    0 / 0
    CRC Errors (Down/Up)
    0 / 2147480000
    HEC Errors (Down/Up)
    nil / 0
    Error Seconds (Local)
    3

  • RFC Message: Internal Problem, in REDWOOD CPS.

    We have Redwood CPS 7 connected up to SAP IS-U Supply.
    We keep getting random RFC errors when executing a script.
    Any Idea
      ERROR LOG   *******************
    ABAP_RUN: R/3 call BAPI_XBP_JOB_OPEN failed
    RFC error: XM034
    RFC Message: Internal problem (function BAPI_XBP_JOB_OPEN)
    TCTRETURNS/        : deleted
    /ERROR LOG   *******************

    Hi,
    if this is a random issue I assume that the authorizations of the CPS communication user are OK, otherwise please verify:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/bb35b8623a489aa63abd9f5ebf2448/frameset.htm
    If this random issue happens only if you execute your custom script, I would assume that the script wants to create a job with invalid data. For example: some data is missing or wrong like start date/time, job class, job user, job name.
    Let's analyze what you have posted here:
    RFC error: XM034
    RFC Message: Internal problem (function BAPI_XBP_JOB_OPEN)
    -> XM034 point to the XMI log
    -> use transcation RZ15 to analyze the XMI log
    -> XM034 means "problem detected" (see appendix 8 of document ftp://ftp.sap.com/pub/icc/bc-xbp/BCXBPDOC70V3.pdf)
    I locked into the code and indeed it seems that function BAPI_XBP_JOB_OPEN returns this message if the job cannot be created.
    So if Sys- and XMI-Log cannot help you in solving this issue, I would create a message for dev. support.
    Cheers,
    Martin
    http://service.sap.com/jsm

  • Installed Parental Controls on MBP 10.7.5. Now it's unusable (exc admin's acct).  Constant message pops up- "You don't have permission to use (whatev) app." U can click: ok, always allow, allow once, but no matter what, message continues and u can't work

    Hi,
    I installed Parental Controls on our MacBookPro 10.7.5. Now it's unusable (except for my  admin's acct). Constant messages keep popping up that say  "You don't have permission to use (whatever) application." You have the option to  click: ok, always allow, or allow once, but no matter what you select, the messages keep popping up and prevent you from working.  I have searched these forums, and all I have found is that you are supposed to uninstall the application (Spotify, dashboard, etc). Deinstalling every app is not a solution.
    If the parental controls just don't work - and frankly I'm tired of wasting all this time trying to fix the bugs - can someone recommend a program that will restrict certain user accounts to any websites I haven't specified?
    Thanks for any help or advice.

    Thanks Bob for that very fast reply!
    But neither "Modifying hal configuration" nor "Using the Desktop Environment settings" (xfce) worked. So I tried the "I don't want this crap, how do I turn it off?" solution and well it works
    Maybe I turn it back on in a month or so.. but for now i'm fine with no hot plugging but a working keyboard...
    Thanks and Bye!
    smax
    Last edited by smaxer (2008-12-09 17:42:43)

  • I have changed my PC, deactivated Adobe Acrobat and tried to load on new PC. Got to registration and get the message " A problem was encountered while trying to send information over internet" this is 8 standard

    I have changed my PC, deactivated Adobe Acrobat and tried to load on new PC. Got to registration and get the message " A problem was encountered while trying to send information over internet" this is 8 standard
    When I try to use it to make pdf files I get the message "Missing PDFMaker files
    It is a proper copy with serial numbers

    Moving this discussion to the Acrobat Installation & Update Issues forum.

  • My dreamweaver cs5.5  on window 7started working stop  showing message  A problem caused programe to

    my dreamweaver cs5.5  on window 7started working stop  showing message  A problem caused programe to stop work correctly       

    What's the error message you received?
    What do your logs tell you?
    What were you doing just before you got the error message?
    Nancy O.

Maybe you are looking for

  • New Computer and New External Hard Drive - why do folders and photos not show up?

    I replaced my desktop with a new laptop and external hard drive. I transferred photos from the desktop to the external hard drive. Lightroom 2 only shows the mapped hard drive, but does not show any folders or photos. Can Lightroom be set up to house

  • Video or wmv file attachments

    I am unable to open or view many emails that have video or wmv attachments. I understand that Safari may not be the vehicle to enable this? Id there another browser that I should download?

  • A Permanent Fix For 3rd party apps that don't launch?

    Since Apple has removed my post suggesting this is a bug (and if you've owned iPhones from the get go, you will know that this is). I'm putting a question out to the forum in hopes that besides the already mentioned deleting/updating an app via the s

  • SALES ORGANIZATION -COMPANY CODE

    Hello,            Why sap says that the thumb rule that the sales organisation should be kept minimum per company code. What is the significance behind this statement. Why cant we have more than 1 sales org assigned to company code.

  • Improving performance in a merge between local and remote query

    If you try to merge two queries, one local (e.g. table in Excel) and one remote (table in SQL Server), the entire remote table is loaded in memory in order to apply the NestedJoin condition. This could be very slow. In my case, the goal is to import