MDB and Database - Listener port stops working

Hi,
I have created an MDB which does the following when a message is received from the queue.
1. Store message in database
2. do some processing
At step 1, if there is any issue with the database connection (e.g. database is not available etc), I rollback transaction. My idea is to leave the message on queue for now and retry it again after some time unless the database is back again. "Maximum retries" of the listener port is set to N but since there is no retry interval available, all N retries are done in a flash and my listener port stops working. I cannot use backout mechanism as I have to wait for the database to be back again. What are my options?

usmanchaudhry wrote:
Hi,
I have created an MDB which does the following when a message is received from the queue.
1. Store message in database
2. do some processing
At step 1, if there is any issue with the database connection (e.g. database is not available etc), I rollback transaction. My idea is to leave the message on queue for now and retry it again after some time unless the database is back again. "Maximum retries" of the listener port is set to N but since there is no retry interval available, all N retries are done in a flash and my listener port stops working. I cannot use backout mechanism as I have to wait for the database to be back again. What are my options?i believe you need an XA driver and a transaction manager, for starters.
a simple JDBC rollback won't do it.
which app server are you using?
which jms provider?
%

Similar Messages

  • Ok..so i was on my iPod 5g listening to music and the sound just stopped working. And whenever i turn up the volume it says that there are headphones in. and my iPod is brand new. please if someone can help it would be awesome!

    ok..so i was on my iPod 5g listening to music and the sound just stopped working. And whenever i turn up the volume it says that there are headphones in. and my iPod is brand new. please if someone can help it would be awesome!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          
    If within warranty (yours is since the warranty is one year) and not abused, Apple will exchange it at no cost.

  • I have a Pavillion dvd Model 1245dx. USB ports stopped working. How can I fix this?

    My USB ports stopped working.  So did my DVD drive.  Any ideas how to fix this?

    Back up all data before proceeding.
    Step 1
    From the menu bar, select
               ▹ System Preferences... ▹ Date & Time ▹ Time Zone
    Check the box marked
              Set time zone automatically using current location
    if it's not already checked. If the box is checked, uncheck it and then check it again. Test.
    If the correct location and time zone aren't shown in the preference pane, then either Wi-Fi is turned off, or you're not within range of a network in the Location Services database. Under those conditions, the computer can't determine your location.
    Credit for this idea to ASC member Easyas314.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.Maps
    Right-click or control-click the line and select
             Services ▹ Reveal in Finder
    from the contextual menu.* A Finder window should open with a folder named "com.apple.Maps" selected. Quit the application if it's running. Move the folder to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the item you moved back where it was, overwriting the one that may have been created in its place. Otherwise, delete the folder you moved. The list of recent places displayed in Maps will be lost.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • HP Pavilion dv6 All 4 USB ports stopped working

    Hello,
    I recently bought a Pavilion dv6-6c11sa laptop. Windows 7 Home Premium 64-bit
    Everything was working fine for about a week, and then yesterday all of the USB ports stopped working. I have 4 USB ports in total, two 2.0 and two 3.0. No matter what peripheral device I plug in, mouse or flash drive etc, they're not recognized by the laptop. The lights don't even light up on the devices, regardless of the port. I've tried uninstalling and reinstalling the drivers in device manager, taking out the battery and rebooting, installing the chipset drivers (AMD), nothing works. No programs had been installed 3 days prior to the occurence, although I had rebooted several times in that time frame. I simply booted up the laptop yesterday, and nothing worked.
    Could anyone offer a solution or suggestion, please?

    Hello,
    I recently bought a Pavilion dv6-6c11sa laptop. Windows 7 Home Premium 64-bit
    Everything was working fine for about a week, and then yesterday all of the USB ports stopped working. I have 4 USB ports in total, two 2.0 and two 3.0. No matter what peripheral device I plug in, mouse or flash drive etc, they're not recognized by the laptop. The lights don't even light up on the devices, regardless of the port. I've tried uninstalling and reinstalling the drivers in device manager, taking out the battery and rebooting, installing the chipset drivers (AMD), nothing works. No programs had been installed 3 days prior to the occurence, although I had rebooted several times in that time frame. I simply booted up the laptop yesterday, and nothing worked.

  • A barcode scanner that was connected directly to the Mac's USB port stopped working as the "USB had too much power drawn", even though it has worked for over a year in that port.  WHen we plugged it into the port on the keyboard, the device works. Why?

    A barcode scanner that was connected directly to the Mac's USB port stopped working as the "USB had too much power drawn", even though it has worked for over a year in that port.  When we plugged it into the port on the keyboard, the device works. Why?  Obviously the device is operational.  Could the USB port have burned out from having too much power drawn?  If so, is it reparable?

    It can't draw "too much" power, it can only draw as much as the USB port is able to provide and no more. IIRC, the keyboard port has a lower power output than the iMac's port.
    That being said, yea, it's possible that the port has failed and it can be replaced or if another port works you can use that one. Although if it is still under warranty or covered by Apple Care, then I would take it to an Apple Store or service provider to get the port repaired.

  • Ports stopped working.

    I used to use port 8001 for a lot of things. Recently, the port stopped working. I triple checked all my router settings and port 8001 is still forwarded. I tried other ports. I rebooted. I tried shutting off my firewall. Nothing worked. I really need a port working for various things so I need some help. Tell me if you need any additional information and I'll tell you. Does anyone know what I should do??

    Well, I did everything you said and I'm sure I did it right. No luck. I have a feeling that something else is going on here, but I'm not sure what I should do. Anyone have any ideas?

  • 1 of 2 USB ports stopped working after 10.7.2 upgrade

    I have the newest Macbook Pro.  I upgraded to 10.7.2 today and immediately after, 1 of my 2 usb ports stopped working.   Thought it may be the cable, so I switched cables.  Tried plugging in my iPhone, my portable drive and nothing.   Both work on the other port though.   Both ports worked fine before the update. 
    I've rebooted 4x. 
    Suggestions?

        Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
      If this does not help, contact Apple.
      Genius Bar reservation
      http://www.apple.com/retail/geniusbar/
    Best.

  • Upgraded to OS X 10.9 and Slideshow in iPhoto stopped working (stays on first slide; will not advance)

    Upgraded to OS X 10.9 and Slideshow in iPhoto stopped working (stays on first slide; will not advance)

    Apply the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database followed by Option #1 to reapair permissions if #4 doesn't help.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    If still not working log into another user account on your Mac and try a slideshow from there.  If it works there then the problem is limited to your account. If it fails there it's system wide and may require a reinstall of iPhoto or the system.

  • Brand new Macbook pro one USB port stopped working

    Brand new Macbook Pro 15 with Retina display. One of the USB ports stopped working after 24hours.

    Serial Port Configuration and Port definition is reset by
    NVRAM  http://support.apple.com/kb/ht1379
    If no good I would return the machine ASAP:
    Genius reservation http://www.apple.com/retail/geniusbar/
    check warranty https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • USB ports stopped working in my Macbook Pro

    USB ports stopped working in my Macbook Pro

    I do not know anything about audio consoles nor do I have an iPhone.
    My iPod also does not show on the desktop but it is recognized in iTunes,  Check if that is the case for your MBP. 
    Do you have the appropriate boxes checked in Finder Preferences?
    See if this support article is of any assistance:
    http://support.apple.com/kb/TS1410
    If you have an external HDD, connect it to your MBP and see if it is recognized.  If it does not show on the desktop, check Disk Utility.
    Have you tried all USB ports?  It could be that the problem lies in your MBP.
    Ciao.

  • MAC PRO Internal USB ports stopped working

    Hello, I have a mac pro 8 core with an USB internal ports problem, the 2 in front are not working anymore, and from the 3 in the back only the middle one is working.
    I tried to pull all the power out for a whole night, resetting the pram and nvram but nothing helps.
    When for example I put in a keyboard in one of the ports that is not working and when I power up the machine and I press the ALT key I get the choice of startup preferences, once I select one, and the system boots up the ports stops working, so before the OS loads the usb ports are working !!!
    What to do ??

    This is a hardware failure. While USB ports on the whole are just not designed very well, leading to their failures being pretty common, your issue sounds a bit more like the USB controller chip is failing.
    In any case, the answer is to take it to a repair shop. If they're smart about it, they'll replace the logic board and see if that also fixes the front ports. If not, they'll replace the front I/O panel as well.

  • Re: Computer shuts down by itself, ethernet port stopped working (MS-7673 P67A-C45)

    do a properties on each device with yellow mark and check its Hardware IDs

    if the load temps are OK, try with a different PSU [quality one]
    QuoteWindows tells me that Ethernet adapter is OK, but that no cable are connected. (It is!).
    ethernet port stopped working
    this suggest that board can be failing

  • USB Ports Stop Working Randomly

    This problem never occurred in Mavericks.
    I use a Logitech Wave Keyboard + Mouse combo and have logitech control center installed. Periodically, the mouse and keyboard will just stop working. Built in keyboard and trackpad still work. I try plugging in other peripherals (other mice, flash drive, external) and none of the USB ports work after this happens. I restart and the computer hangs on a black screen with the keyboard backlit and mouse still moveable (with the trackpad). After I force shutdown the computer and turn it on again, the problem goes away. However, it's only a matter of time before the problem happens again and I have to go through the same process.
    This is with a early 2014 13" Air.
    Any ideas? I may just go ahead and reinstall the OS.

    Hi sbao26975,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like the Mac is having trouble recognizing USB devices. I would recommend that you read this article, it may be able to help the issue.
    USB and FireWire Quick Assist - Apple Support
    Cheers,
    Mario

  • Satellite P850 - right hand USB ports stopped working

    I have a new Satellite P850, after a short period the two right hand usb ports stopped working, I only had a wireless mouse plugged into them at the time. Is there a reset for these ports, I have tried uninstalling and reinstalling, no change.
    Any one have any thoughts.

    First of all, I don't think you should have done that.
    The solution, either a full system recover (probably not necessary) or reinstall the drivers manually. Since they are USB 3.0 (I guess for what I googled about the P850) they use different drivers (specially if we are talking about the sleep and charge ones) so go ahead and download them from toshiba website, that should solve it...

  • USB Ports stopped working - Vista Home Premium (32bit)

    I reloaded Windows Mobile Device Center yesterday.  When I got home and booted my computer, all 3 USB Ports and the card reader do not work.  There is power, but no use of the device.  I have read several help posts on this and I have attempted to fix without success.  The one thing I keep reading is the USB Root Hub.  I do not have this in my device manager.  I have uninstalled all of the Universal USB Controllers in attempt to allow Windows to install the drivers.  I am getting a Code 39 error and it says the system cannot locate the preconfigured driver folders.  I cannot use a mouse, printer, or sync my phone without the use of my USB Ports.  Can anyone please help me?
    Terah  

    Hello,
    I recently bought a Pavilion dv6-6c11sa laptop. Windows 7 Home Premium 64-bit
    Everything was working fine for about a week, and then yesterday all of the USB ports stopped working. I have 4 USB ports in total, two 2.0 and two 3.0. No matter what peripheral device I plug in, mouse or flash drive etc, they're not recognized by the laptop. The lights don't even light up on the devices, regardless of the port. I've tried uninstalling and reinstalling the drivers in device manager, taking out the battery and rebooting, installing the chipset drivers (AMD), nothing works. No programs had been installed 3 days prior to the occurence, although I had rebooted several times in that time frame. I simply booted up the laptop yesterday, and nothing worked.

Maybe you are looking for

  • Mail is broken since 10.8.2 update

    I updated to v 10.8.2 two days ago, since then Mail has been broken.  I can see the sender, date, a snippet of message in the in box column but cannot read the message if I attempt to highlight it or click to expand it. It is completely blank, no sen

  • New iMac slower after upgrade to Yosemite...

    I recently (2-3 months ago) purchased a 21.5 inch iMac, with the following specs: Mavericks OS X 1 GB Fusion HD (The HD contains approx. 500 GB of data, i.e. +/- a little over half full) 3.1 GHz Intel Core i7 16 GB DDR3 I use the BlueTooth keyboard,

  • Problems with Pages and Numbers using iCloud Drive on early 2008 MacPro, Yosemite

    One of my computers, an early 2008 MacPro running Yosemite, will NOT save Pages or Numbers documents to iCloud Drive from within those applications.  I see the little iCloud Drive error badge next to the file name in Finder after I try to save.  Howe

  • Is the board dead?

    i have my neo2 working fine for a couple of days. i then thought id have a little play with some light overclocking. all was fine till i hit 233 fsb then the computer would not boot at all. i have tried to reset the cmos, taken the battery out but it

  • Manual Running Totals

    Below is the formula I've created but the total is 1 count higher than it should be.  The total should be 1346 and it is showing as 1347. whileprintingrecords; numbervar NotEstRt; NotEstRT:=NotEstRt+{@Not Established}; Thank you for any thoughts and