MDB and Trasaction problems...well sort of

OK, I've got this MDB that gets messages off of Queue A, does some work and then sends a response to Queue B, where something is listening.
This work flow works very well for me.
What happens when something goes wrong? I'm using container managed transactioning so if I get a runtime exception the container puts the message back on the queue and reties a few times. After those few tries the container gives up and and throws a System Exception.
Here's the problem...how do I send something to my response queue to tell my waiitng app that the transaction failed. I can't use timeouts on the listener side b/c I have no idea how long these processes could take when working correctly.
HELP :-)

If anyone who has anything to add to this scenario...please do!!

Similar Messages

  • MDB and Trasactions dilemma.

    OK, I've got this MDB that gets messages off of Queue A, does some work and then sends a response to Queue B, where something is listening.
    This work flow works very well for me.
    What happens when something goes wrong? I'm using container managed transactioning so if I get a runtime exception the container puts the message back on the queue and reties a few times. After those few tries the container gives up and and throws a System Exception.
    Here's the problem...how do I send something to my response queue to tell my waiitng app that the transaction failed. I can't use timeouts on the listener side b/c I have no idea how long these processes could take when working correctly.
    HELP :-)

    OK, I've got this MDB that gets messages off of Queue A, does some work and then sends a response to Queue B, where something is listening.
    This work flow works very well for me.
    What happens when something goes wrong? I'm using container managed transactioning so if I get a runtime exception the container puts the message back on the queue and reties a few times. After those few tries the container gives up and and throws a System Exception.
    Here's the problem...how do I send something to my response queue to tell my waiitng app that the transaction failed. I can't use timeouts on the listener side b/c I have no idea how long these processes could take when working correctly.
    HELP :-)

  • Problems with an MDB and OJMS

    I have a problem with MDBs and OJMS/AQ. onMessage() method fires well when a message is enqueued, but it is never dequeued. Messages are well received by MDB, but they remain on AQ table without dequeue. Can anybody help me? Thanks

    This is bug: Contaner managed transactions do not work with MDBs in OC4J 9.0.3. Either switch to BMT, or use the 10.0.3 preview on OTN.
    The bug is fixed in the 9.0.4 production version which is expected "real soon now".
    HTH
    -Doug

  • Iphone 4S updated to iOS 5.0.1 last nite no longer visible in iTunes for wireless sync.  check box is viewable as checked when connected via usb. anyone else having this problem and been able to sort? Thanks.

    Hi all.  Update my iphone 4S via usb last night.  Since then the iphone is not visible in itunes for wireless syncing.  The sync wirelessly box is checked and is viewable as checked when phone connected via usb.  Anyone else have this problem and been able to sort?  Thanks.  Doug

    Hi all.  Update my iphone 4S via usb last night.  Since then the iphone is not visible in itunes for wireless syncing.  The sync wirelessly box is checked and is viewable as checked when phone connected via usb.  Anyone else have this problem and been able to sort?  Thanks.  Doug

  • HT1473 Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?

    Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File<Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?

    Try:
    iTunes: Finding lost media and downloads
    iTunes: How to re-create your iTunes library and playlists
    Next try:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Also:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • I'm attempting to install cs6 and after hitting install the following message appeared: installer failed to initialize. please download adobe support advisor to detect the problem. well that has been discontinued...

    i'm attempting to install cs6 and after hitting install the following message appeared: installer failed to initialize. please download adobe support advisor to detect the problem. well that has been discontinued...

    rename OOBE Folder to OOBE.old.
    to find OOBE:
    64 bit OS: Program Files x86\Common Files\Adobe\OOBE
    32 bit OS: Program Files \Common Files\Adobe\OOBE

  • Problem with sorting involving user defined types and reports

    Hello!
    I have a problem with sorting involving Reports and user defined objet types.
    I have created the following object types
    CREATE TYPE type_balance_compte AS OBJECT
    NUM_CPT_SEQ NUMBER(8)
    ,NUM_CPT VARCHAR2(35)
    CREATE TYPE TB_type_balance_compte IS TABLE OF type_balance_compte
    At the reports query I use:
    SELECT ...
    FROM table(cast(test_pkg.balance_comptes(:P_num_soc) as TB_type_balance_compte)) c
    The procedure balance_comptes will retrieve data from various tables into the type.
    The report is ordered by a certain string field that usually contains characters and numbers.
    I need to have numbers always before characters, meaning the data should come in this order in the report for example:
    0
    1
    A
    B
    So, before the report query, I have placed a call to DBMS_SESSION.SET_NLS( 'nls_sort', 'binary' ) to guarantee NLS_SORT in case it is originally set to FRENCH.
    The problem here is that even after this call, I have the report ordered like this
    A
    B
    0
    1
    And not the numbers before as it should be.
    To try and find out where the problem was, I have created a table to use instead of the object type described above. In this case, it worked correctly. So all I know by now is that is has something to do with the type or cast, but what exactly? Does anybody now how to solve this without using a table?
    Many thanks
    Ariadne

    I have placed a call to DBMS_SESSION.SET_NLS( 'nls_sort', 'binary' ) why not order directly then:
    SQL> select *
          from table (sys.dbms_debug_vc2coll ('A', 1, '5', 'C', 'a'))
    order by nlssort (column_value, 'NLS_SORT = binary')
    COLUMN_VALUE                                                                   
    1                                                                              
    5                                                                              
    A                                                                              
    C                                                                              
    a                                                                              
    5 rows selected.?

  • Lion, mail 5.0 and PDF problem

    Hi guys,
    I've got couple of problems with sending PDF files:
    (my OS is in finnish, so the translations are not accurate, but you get the picture)
    a) from print-pdf-send to mail. The PDF attachment is visible in the mail to be sent, but when you write receiving address you get this warning:
    "   '''''is not a correct email address. Send mail anyway?    "         ''''' are actual signs appearing on this warning.
    b) when sending any document as a PDF- file, the receiver doesen't get the attachment at all.
    This is very frustrating, as I´m sending invoices, which clients are not receiving.
    All these above are Mail 5.0 bug/problems. Anyone got the same problems?? Solutions?
    I´m forced to use either webmail (lousy interface...), or another mail app. Any suggestions...T-bird, Entourage...?
    Thanks!

    Thanks Ernie for your response! ( I know this is a user forum mainly...)
    It's a pdf file problem solely. Doesn't work on IMAP (primary) or POP.
    All other files work fine ( ... well sorta- files ending w/ .xls are a bit of a problem too, but
    that does not bother me at all).
    Works well with T-bird ( my primary mail app, until a fix has been made) and even Entourage ( webmail works also fine)
    It has also something to do with "preview", because I found a way around this:
    open the pdf w/ adobe reader, save it and attach it to your mail. This works fine,
    BUT... it does'nt solve the print- mail as pdf glitch and it is very time consuming and
    extremely annoying.
    Yes, I have filed a bug report a while ago.
    Tom

  • Paul McCartney Pre-Order Problem with Sorting

    I pre-ordered the new McCartney album last week (at which point it downloaded the "Ever Present Past" single) and when it became available today I downloaded the rest fine, except "Ever Present Past" (which should be song number 2) had a different album title ("Ever Present Past Single" or something like that) and thus didn't sort correctly with the rest of the album... so I edited the track to match the same album name and correct track number (being very careful to make sure that all of the fields in the Get Info window match the other tracks, and that there are no invisible spaces throwing it off), but it refuses to sort with the rest of the album... even tried to rebuild the iTunes Library file but that didn't work either... just curious if anyone else has a similar problem and/or a possible solution. Thanks.

    This is ridiculous that this issue isn't being
    > addressed. Same problem here, and I guarantee that
    > I'm not alone.
    Check out the emails I got from Apple on this:
    "I understand that the single " Memory Almost Full" from the album you pre-ordered, will did not download with the album and now you're unable to listen to the album without it stopping to get to the single. Please note that re-downloading the album, will not resolve this issue. You are correct when you mentioned that this issue will happen because iTunes sees it as two different albums because it was downloaded separately. Don't worry. To resolve this issue, I recommend creating a playlist for the album itself. That way, you can arrange the contents of the album so that they will play without interruption.
    This article will show you how to do this:
    Organizing your music and video using playlists
    http://docs.info.apple.com/article.html?path=iTunesWin/7.0/en/517win.html
    I hope you continue to enjoy using the iTunes Store."
    Well, that's great...so not only do I have to isolate the album from the rest of my iTunes collection, it also does nothing to fix the issue on my iPod. So I responded to them as such, and got this response:
    "You did mention very valid points when stating your disappointment with the way pre-ordered albums are downloaded and Apple recognizes that no one is better qualified to provide feedback about iTunes than the people who use it.
    I encourage you to use the iTunes Feedback page to submit your comments:
    http://www.apple.com/feedback/itunesapp.html
    Your efforts to share your feedback are very much appreciated.
    I hope you continue to enjoy using the iTunes Store.
    Is this ridicuous or what? Unbelievable. If I bought a CD in a store and the tracks were incorrectly burned on the CD, the store would take it back or at least try to exchange it for a new copy that wasnt defective. This TECHNICAL ISSUE needs to be resolved.
    iMac 17" 1.83 GHz Intel, iBook G4 12.1"   Mac OS X (10.4.6)  
    iMac 17" 1.83 GHz Intel, iBook G4 12.1"   Mac OS X (10.4.9)  

  • Snow leopard and pixma problems, why won't bonjour find printer?

    I have been a fool, my printer was working fine its a pixma mp990 (its a 3 in 1 scanner), working wirelessly. Then I decide to upgrade to snow leopard. On my imac and macbook, Pixma couldn't be found, so reinstalled on macbook and now it will print. But not the imac. I have re-installed the printer, but all I get in the 'add printer' dialogue box is the Bonjour pixma scanner. No sign of the printer. I know its on the network cos the macbook can see it and windows xp can see it. I thought things like this only happened in windows, but I am really despairing with my mac, there are just so many problems.

    Well, the printer works again, after about 4 hours of fiddling about. That just leaves me with a Time Machine error- it won't back up any more. Also I have an Aperture library that won't back up (some sort of error) and an idisc which refuses to sync (don't know why), oh and parallels 3 has been wiped off my computer since upgrading to snow leopard (thanks for that, Apple). And my Huey monitor calibrator doesn't work properly, and my imac mouse refuses to scroll as it should, despite cleaning. So much for getting a Mac because 'it just works'. When I check out my various problems on the interweb I can see dozens of similar problems going back over the months from a variety of people. Drobo is just a pain in the proverbial. Right, which problem shall I deal with first ....

  • BOSD, Battery issues and Heating problem after iOS 8 upgrade

    i have upgraded my iPad mini to iOS 8. Ever since I upgraded to iOS 8 am facing blue screen issues and heating problem as well. This is really frustrating even the patch iOS 8.0.2 dint solve the problem. Are you guys listening our complaints. When will you fixing it.

    The same thing happened to me on my 2012 Subaru Outback.  I'm not sure this will help you since you have a Honda, but I'm posting this just in case.
    I paired the audio on my car with my iPhone 6.  However, when I turned the car off and back on again, the iPhone would not pair automatically.  I had to manually connect the iPhone with the car.  Turns out there are two separate bluetooth pairings on my car: one for phone which allows up to 5 devices and one for audio which allows only one device.  So I did the second bluetooth pairing for the phone (had already done the audio), and that fixed it.  YMMV

  • Startup and performance problems

    Hi Community!
    First of all, i don't expect to get a good answer to this. I've search for three days for these specific errors, and thought i should share my experiences with other users with similiar problems. I ran Apple Hardware Diagnostics and finally got some sort of clue as to whats wrong with my computer. The exact error code i received was: 4SNS / 1 / 40000000 : IC0C - 51.511. However the only information i've been able to find about that specific error code (IC0C) was: "Current Sensor on CPU 0". And just for the fun of it, iStat Pro reports that the processor uses 51.51A wich to me sounds really high, but i havn't found any relevant info about how many amps this processor is supposed to use.
    My Specs:
    MacBook Pro (6.2) mid-2010 edition.
    15" antiglare highres
    8GB Ram
    i7-620m 2.66Ghz
    7200rpm 512GB harddrive
    Mac OS X 10.6.7
    Boot ROM Version:          MBP61.0057.B0C
    SMC Version (system):          1.58f16
    My issues:
    I have a couple of really annoying problems with this computer:
    First of all the most recent issue, it wont start! Or at least it wont boot unless i press and hold the power button for several seconds until the led indicator blinks rapidly. If i've put it to sleep, when i wake it up it will show the desktop for 1-2 seconds, then it will just die. It wont matter if i have it plugged in with the power cord or running on battery.
    My second issue is its poor performance, it's about less than a third as fast as it should be when compared to a friends almost identical computer (the only difference is the screen and the harddrive). And by this i mean pure computing power. http://db.xbench.com/merge.xhtml?doc1=521138&doc2=521137 yeah i know, xbench is a bit long in the tooth but when two nearly identical computers differ that much in the same test something is clearly wrong.
    Also as a bonus to the strange behaviours above, my fans sometimes start spinning at 6000rpm and gets stuck there until i shut down the computer or put it to sleep. Neither iStat Pro or SMCFanControl can lower the speed of the fans when they've started running at that speed. And there seems to be no reason for them to run that high as the temperature is below 40C on cpu and around 50C on the gpu. However i've seen a lot of posts about this specific issue, and there was some talk about the power supply sensor being out of whack.
    What i've tried:
    Reset SMC several times
    Reset PRAM several times
    Tried to boot from another harddrive
    Completely erased harddrive and reinstalled a fresh copy of OS X
    Apple Hardware Diagnostics (And finally got something to indicate an error)
    Tried reinstalling EFI firmware, but it won't let me (Unsupported Hardware....)
    Nothing has worked so far. I will return this computer as soon as it's possible. But i'm too curious as to what that error really means and can that error really be the root cause of my problems? Or rather is the SMC/mainboard faulty?
    Sincerly
    Fredrik

    I think 4SNS might not always be temperature sensors, i think it can be any of the values you can derive from the SMC.
    In this case i'm most interested in this specific error code: IC0C (Current Sensor on CPU 0). I'm guessing there's some secrecy going around Apples error codes and therefore there might not be a good answer to this
    If i might throw out an uneducated guess, it could be that the voltage/amperage sensor on CPU 0 reports an invalid value and therefore the computer won't start normally to protect itself in case the amperage would be too high.
    The reason i ask, is because there might be others out there with this specific error and symptoms that's also curious as to what the cause might be. The correct solution for the problem however is to send it in of course
    So i will send the computer a.s.a.p as you suggest Michael.

  • MDB Transaction Management Problem

    Hi,
    I am implementing a container managed MDB. The process involves implementing the retry queue and a dead letter queue in case the message is not processed properly.
    In one of the scenarios, an exception gets thrown during the message processing and the message is sent to the retry queue. But somehow it is not being delivered to this queue also and an exception gets thrown. I can see the stacktrace in the logs but somehow This exception is not causing my transaction to rollback in the original MDB and hence the message is getting lost.
    I am using WSAD 5.1 with websphere app server.
    Can someone help please.

    Hi,
              Thanks for your reply.
              Unfortunatelly, I didn't find any information about that issue in Release Notes of Service Pack 5.
              Could you show me any source of information about this problem as it is known issue ?

  • IPod Shuffle 2nd gen and Mac problem/troubleshooting guide

    Ok, warning this is going to be a little long...
    The problem: Brand spanking new out of the box ipod shuffle 2nd gen won't play songs after ipod assistant setup. Flashing green/orange lights. Also will not update or restore (greyed out). Shows up as formatted for Windows. Software and Serial show up as "n/a".
    System specs: Powerbook G4 17inch 1ghz, 1gb RAM, 10.4.9 running iTunes 7.1.1
    Attempted solutions that have NOT worked:
    1) mac retail store visit to genius bar. it restored on mactel machine. worked and played songs. unfortunately resyncing to my library caused ipod to return to problems above immediately.
    2) another mac retail store visit to genius bar, this time with laptop to show them the problem. they told me it was my machine not the shuffle. i explained i am a mac sys admin and that is ridiculous...my machine though a few years old is completely up to date. we then deleted all receipts out of the Library dealing with iTunes and reinstalled iTunes via software update. same problem immediately after the setup assistant. no software version and no choice to update or restore ipod. downloaded the ipod reset utility for mac for 2nd gen shuffle and error message shows "the selected ipod is not supported by this utility". also shuffle icon shows up as generic white ipod. mac genius stumped so they swap out my brand new shuffle for another brand new shuffle.
    3) 2nd shuffle in a week and same problems occur. will not update in iTunes. will not restore in iTunes. will not restore in ipod reset utility. icon shows generic white ipod. i can copy music to it but it will not play, lights flash green and orange.
    4) tried to use disk utility to reformat. erase using MS-DOS, but it says FAT16 instead of FAT32. same problems as above.
    *weird that I can't reformat to FAT32 when selecting the MS-DOS format. I only see FAT16 as a choice. Disk utility should do FAT32 but I can't seem to get it to work on shuffle and i don't have a spare hard drive to test it on. Anyone have any experience reformatting ipods via Disk Utility to windows format? Please share...
    At this point I have access to a mactel book and will attempt to fix it on the newer machine. I will be very upset if it works because there is nothing saying that you need new hardware to use the new shuffle. i also get the usb 1.1 error message but again there is nothing saying you need usb 2.0 for shuffle use.
    if anyone has tried anything different with good results please respond! from my experience this seems to be an issue specifically between older mac ppc machines and the new windows drivers installed on the shuffle. i use windows drives all the time with my mac and there are no problems. however a brand new ipod shuffle 2nd gen out of the box does not seem to like my older machine...even after two reinstalls of itunes! even the reset utility is not working as described....
    any help with this is much appreciated!!!
    Powerbook G4, 1ghz, 1gb RAM, usb 1.1, 17inch Mac OS X (10.4.9)

    Ok here it is, my final post on thoughts on this issue...
    Unfortunately, my guess was correct, there does seem to be a hardware issue related to iTunes 7.1.1 and whether it is on a mactel machine or an older ppc machine.
    I can confirm this because the ipod settings screen on my older PPC powerbook is TOTALLY different than the screen I saw on the newer mactel macbooks, even though the software version says its EXACTLY THE SAME! (iTunes 7.1.1)
    On a mactel macbook, I see the ipod shuffle settings such as "Autofill" etc with the correct icon and software version and serial number.
    On my PPC powerbook, I see a generic white ipod icon (even though the finder shows the correct icon of my 2nd gen shuffle) and the settings tab for the ipod is completely different....the update and restore continued to be grayed out, there is no software version or serial number available as well. This is probably why I am not able to register my ipod shuffle from my machine.
    I did not erase and resync the ipod shuffle to my PPC machine to see if that would allow it to continue working. So far so good. After unmounting, it still plays songs. However, I checked the "manage songs manually" option and added just one more song to the shuffle. I tried to then play that song but it would not play even though it was copied onto the shuffle...I could play it from the ipod via iTunes but not when I was just listening to the shuffle. I confirmed this with the application "PodWorks", the song I copied from my library does NOT show up in the list of songs on my ipod shuffle...however it DOES show up and play in iTunes.
    So I feel pretty stuck right now...
    I can have a working ipod shuffle but NOT from my ipod library. It seems I can only listen to songs off my friends newer machines because for whatever reason, the ipod shuffle DOES NOT WORK with a PPC Powerbook 17inch, 1ghz, 1gb RAM, 10.4.9 running the current latest version of iTunes 7.1.1.
    ***** to be me. Anyone else come to same conclusion?
    If this is real then other users with older macs should not waste their money on the 2nd generation ipod shuffle. Please respond if you have any suggestions or thoughts on this matter.
    Mac OS X (10.4.9)

  • Hp LaserJet CP1515n Printer Paper Jam, Cleaning Mode and calibration problem.

    We have Two no. Hp Laser Jet CP1515n Printers,
    We are facing repetatively the following problems.
    Paper Jam, Cleaning Mode and calibration problem. even after hp has replaced that printer twice..
    Pl. help me to sort out the problem.

    after 1 or 2nd page printing it display paper jam problem, after clearing the paper jam it goes in initialization mode. so we have to spent minimum 5 min. for taking one print out...
    Pl. help to solve the problem..

Maybe you are looking for

  • 450 host down to some domains.

    We could not send mails to some domains, the message is 450 host down. When I try to do dnsstuff check on those domains, this is what I get, is this really normal. Your 1 MX record is: 10 mx.company.com [TTL=86400] IP=6x.1xx.1xx.1aa [TTL=86400] [IT]

  • When launching itunes error reads as apple application not found

    for some reason i have the error "apple application support was not found". after reading the forums and looking on what to install or unistall i cant seem to find why it would not launch. im afraid of pluging in my ipod in fear that my playlist will

  • Triggers on every table in schema

    Hi All, I want to know every details that whenever someone performs a DML in schema A on any tables to logged into a table. I have attempted these: -Create log table CREATE TABLE audit_rst( user_id VARCHAR2(30), session_id NUMBER, host varchar2(30),

  • HELP Assertion failed!

    Just this evening LR2 crashed on me while processing a wedding shoot. I can now not get back into LR2, all I get is a dialogue proclaiming "Assertion failed". I have uninstalled and re-installed but to no avail. I am still getting this same message a

  • QA32 - User exit or BADI

    Dear all I NEED to display vendor name near to vendor number in the ALV output of the transaction QA32. any user exit or BADI please help me in this regards Regards S.Senthil Kumar