Flushing out remaining contents of a queue after weblogic shuts down

 

Anyway to tab into Weblogic shutdown event, so I can run some clean up code to
disconnect a persistent connection.. etc.
Gary
"Irwin Yoon" <[email protected]> wrote:
I have a queue which runs as a daemon thread. Every so often the queue
wakes up to empty the queue, then goes back to sleep when it's done,
then
wakes up again, etc. The queue is represented as an array. The queue
is
part of a single instance of a class, similar to a startup class.
This is my question: When the weblogic server is shut down, what is
the
best way for the queue to be able to flush out all the remaining items
in
its queue?
Is a weblogic shutdown class the way to go? If so, how could this be
implemented? Any other suggestions?
Thanks,
Irwin

Similar Messages

  • HT1414 after installing the latest version of IOS my iPhone 4s rapidly runs out of power, it also suddently (fully charged) shuts down and restarts without me asking for it. I tried to reinstall the latest version of IOS but it doesnt help. Any advice?

    After installing the latest version of IOS my iPhone 4s rapidly runs out of power, it also suddently (fully charged) shuts down and restarts without me asking for it. I tried to reinstall the latest version of IOS but it doesnt help. Any advice?

    Backup and restore your software via iTunes. If the problem continues, restore as a NEW device. If this solves it, that means there is some corruption in your backup file. If the problem is still there, you should take it to the Genius Bar at an Apple Store for evaluation.

  • USB external HD does not turn off after system shut down

    This is not a new issue in Leopard. I had this issue also in Tiger but I never bothered to ask whether there may be a solution to this issue.
    I have firewire as well as USB HDs attached to my iMac. If I put my computer to sleep both the firewire and the USB HDs turn themselves off. The HDs come back to live after I reawake the Mac. But if I turn off the iMac then only the firewire HDs turn themselves off. The USB HDs remain turned on.
    Is there a setting somewhere that can be changed so that the USB external HDs turn themselves off after system shut down?

    Detlef Schmitt wrote:
    This is not a new issue in Leopard. I had this issue also in Tiger but I never bothered to ask whether there may be a solution to this issue.
    I have firewire as well as USB HDs attached to my iMac. If I put my computer to sleep both the firewire and the USB HDs turn themselves off. The HDs come back to live after I reawake the Mac. But if I turn off the iMac then only the firewire HDs turn themselves off. The USB HDs remain turned on.
    Is there a setting somewhere that can be changed so that the USB external HDs turn themselves off after system shut down?
    Since the issue is not a Leopard issue, and maybe not even a Tiger issue, you might check with the drive manufacturer for some assistance.
    Does the drive turn off when you eject it and then pull out the USB plug? That's important.
    Message was edited by: nerowolfe

  • Persistent USB Arch installation fails to boot after first shut down

    Hey all,
    I've recently installed Arch on a 32-GB USB flash drive (with the help of the wiki, of course).  I have some experience installing arch on my computers, so the process went relatively smoothly.  As some background info, I AM using UUIDs in both the bootloader and the fstab file, so that shouldn't be a problem.
    Anyways, the problem itself: I have arch installed and ready to go, and it boots up fine (the first time).  The thing is, after I shut down, if I try to boot the USB drive again, it simply hangs there-- no boot.  What's weirder is not only does it not boot, but it also freezes the host computer at that point in the boot cycle.  I mean, everything will be frozen up at the startup BIOS/splash whatever screen when the USB key is in, but once I take it out the computer will boot up regularly.  It's really strange.
    If I reinstall the bootloader on the USB drive then everything works again (that is, until I reboot).
    Is the bootloader somehow getting corrupted while shutting down?  I have tried using both GRUB and SYSLINUX (not at the same time of course) but they both behave the same.
    Any help would be greatly appreciated.
    Thank you for your time,
    Ushahin

    https://wiki.archlinux.org/index.php/Be … nvironment
    Here you need to set the right hooks if the root is on a USB drive, if you use RAID, LVM, or if /usr is on a separate partition.
    Did you remember to do this?
    If not, mount the partition(s) starting with the root partition first, chroot into it, edit that file and re-generate the initramfs. Then reboot with the reboot command, don't forcefully shut it down using the power button or something like that.
    It could also be a BIOS issue. Restore its defaults, set "Removable Dev." first, "CD-ROM" second (if you have an optical drive), "Internal Storage" third. Then select the USB stick as the first to boot in the boot priority screen.
    Last edited by DSpider (2012-10-12 07:07:30)

  • MacBook Pro freezes after clicking 'Shut Down' and won't remember 9600M GT

    After choosing 'Shut Down' from the Apple menu my MacBook Pro (1998, 5,1 2.4 Ghz Intel Core 2 Duo) freezes and the Grey Screen of Death appears.
    Strangely this only happens when I'm using the lower-power GeForce 9400M graphics card. When I use the high-performance NVIDIA GeForce 9600M GT graphics card my MacBook Pro wil shut down normally.
    Ever since upgrading my system to Mac OS X 10.6.3 this problem occurs. But since then also other problems arose. After installing Safari 5 my MacBook didn't boot, and I had to zap the PRAM to get the system booting again. Since then my system won't save the 9600M GT setting in the Energy Saving panel. I can logout from the 9600M and login to the 9600M GT, but after a reboot it switches back to the 9600M card.
    Today I did a combo update to Mac OS X 10.6.4, but all the problems still occur. Also I did maintenance tasks with 'Cocktail' and 'Maintenance', but that didn't help either.
    Also sometimes after choosing the GeForce 9600M GT graphics card, OS X logs out and hangs in the blue screen instead of displaying the login screen.
    I hope someone can help me out with this!

    Unfortunately the problem reoccured, alltought less. The last weeks my MacBook froze two times.
    The report I send to Apple contains the following:
    ... Sat Jul 17 12:42:23 2010
    panic(cpu 1 caller 0x124fc5b): "AGC GPU REGISTER RESTORE FAILED : rdar://7254528"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-2.8.63/k ext/AGCPowerManagement.cpp:849
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)...
    Anyone a clue how to solve this problem? Thanks!

  • Pre email push not syncing with Yahoo Mail or google cal after HP shut down

    HI.  I have a Palm Pre, and while I knew services going through Palm would be dead after the shut down, I assumed anything that was a direct email push through my cell phone carrier or WIFI would be fine.
    I have however suddenly lost email sync with my Yahoo account, google calendar sync (thought the gmail sync works) and Outlook calendar sync through Chapura sync manager.
    Is this a coincidence?  Is there something I can do to fix this?  It makes no sense that services that have nothing to do with Palm should cease to work!
    Thanks!

    I have set up the account using the iPhone's preset service - which I think means it's an exchange account.
    This means the account was created as an IMAP account with Push access for received messages.
    Surely I'm not supposed to close Mail down in order to receive push notifications? And if so, what does that means for Facebook, eBay etc?
    No you are not. With an account that supports Push access for received messages with Push access enabled for the account with the account settings on the iPhone, when a new message is received at the incoming mail server the incoming mail server "pushes" the message out automatically without having to check the account for new messages - automatically or manually, which is called fetch.
    Removing the Mail app from the fast app switching or recently used apps bar does not quit the app. It removes the app from the fast app switching or recently used apps bar only. The iPhone has supported multitasking since day one with included apps. Removing the Mail app, the Messages app, and the Phone app from the fast app switching/recently used app bar does not quit these apps. These apps are always running in the background so to speak in a suspended or frozen state.
    Yahoo has had on and off again problems with this since day one 3&1/2 years ago.

  • Computer starts spontaneously after I shut down

    After I shut down my computer it will start back up automatically. I've already gone through tech support and updated everything as well as gone into the BIOS and made changes. After doing this twice HP sent out a tech and replaced the motherboard and power supply. A week later it has started doing the exact same thing. I bought this computer a little over two months ago. It's an Elite Desktop model. Help please.

    Hey jshimp, 
    I'm sorry you're having this type of issue so soon.
    Has the Power button been looked at or replaced? Could it be getting stuck?
    I would recommend speaking with tech support again and letting them know that the motherboard and power supply have already been replaced. Ask about if any exchange options are available considering the time period. 

  • Portege M300 hangs after "Windows shuts down" comes up on the screen

    The computer hangs after "Windows shuts down" comes up on the screen. The same happens in hibernation mode. I have to turn off the computer by holding the on/off button.
    I have updated my bios, installed all windows updates that are available and done a numer of other things. It startd just out of the blue. Any ideas?

    Hi
    Does it happen after the OS installation from the Toshiba recovery CD???
    Did you install any further programs???
    I have noticed a similar freezing on my notebook. Mostly it happened because the background process did not close and therefore the notebook could not force the shut down. In my case it was a adobe acrobat reader which could not close.
    I think you should defragment you HDD and use the CCleaner freeware application.
    This program cleans program errors and corrects the registry entries.
    Try it! Maybe its not a serious issue!

  • My screen is really faded, after it shut down (overheated I think) after being on for about an hour.

    My screen is really faded, after it shut down (overheated I think) after being on for about an hour.  Its kind of like how you see the world, when you get out of a pool that has too much chlorine.
    I have tried shutting down, and re-starting. I have re-calibrated.
    I have tried changing brightness.
    Nothing works so far.
    HELP

    Wait a few hours before restarting it, also post actual temps.  You can download iStatPro for free, once you have restarted, download it and post the actual temps.
    Also try resettng the PRAM and SMC, do each multiple times. If you don't know how please click Intel iMac SMC and PRAM resets

  • After having shut down after installing updates, when I restarted and tried to open a word file, it started opening ALL the word docs and the only way I could stop it was by"force quit"  arted  and tried to open

    After having shut down after installing updates, when I restarted and tried to open a word doc, it started opening ALL the word docs and the only way I could stop it was by"force quit"  . This is REALLY annoying!!

    May be it is the Resume feature.
    System Preference > General > Number of recent items
    Uncheck the box next to      "Restore windows when quitting and re-opening apps".
    Best.

  • How do I log in after a shut down when I forgot the password

    How do I log in after a shut down when I forgot the password

    Forgot Mac Password? How to Reset Your Mac Password (with or without CD)
    Change the Admin Password with Mac OS X Single User Mode

  • "Quit Safari" is grayed out.  How can I quit safari and shut down?

    "Quit Safari" is grayed out.  How can I quit safari and shut down MacBook Pro?

    Force Quit
    Press   command + option + esc  keys at the same time.
    Wait.
    When the Force Quit window pops up select Safari, if not already selected.
    Click Force Quit button.
    Wait.
    Now shut down the computer.

  • MacBook Pro 15" won't turn on after a shut down.

    My MacBook Pro 15" late 2008 mavericks won't turn on after a shut down. Tried SMC reset, plugged and unplugged charger multiple times as well as installing the battery. It has started that after a while I have replaced my old battery with a new one,upgraded to Mavericks and increased my memory to 4GB. In the beginning after I would install every time the battery ,it' would turn on after 8-10 tries. Today it's completely unresponsive . Tested different outlets, with and without battery,nothing worked. I also heard that some other people have this issue once they have updated their operating system from  10.5.8 to Mavericks. Is that the problem.? Has anyone found a solution to this?

    Hi there Olgabinou,
    You may find the troubleshooting steps in the article below helpful.
    Troubleshooting: My computer won't turn on
    http://support.apple.com/kb/ts1367
    -Griff W. 

  • For MacBookPro users - HELP!!! Suddenly the sound froze. The icon on the top right hand bar doesn't move and there is no sound in my computer. It happened after I shut down my computer (which I do rarely) rather than put it to sleep. If anyone has a solut

    For MacBookPro users, Leopard, please help. Suddently the sound froze. The icon on the top right hand bar doesn't move and there is no sound coming from my computer. It happened after I shut down my computer, which I do rarely, rather than put it to sleep. Please help.

    Try Resetting PRAM
    PRAM stores settings for sound.

  • Why does my system hang on a blank software update screen after I shut down?

    Why does my system hang on a blank software update screen after I shut down the computer?
    This only happened after my computer attempted to download security update 2013-003 version 1.
    I have an iMac with a 2.16 GHz Intel Core 2 Duo running on OSX 10.7.5.
    I repaired all disk permission, and then verified and fixed the disk.
    My hardware diagnostics program gave all systems a green light.
    After all this, the system still hangs.
    This must be an operating system glitch.
    How do I fix it?
    If you tell me to reload the operating system, then I'll have to go retro with Snow Leopard.
    All subsequent updates were purchased from Apple on the Internet and downloaded.

    Cineast wrote:
    If you tell me to reload the operating system, then I'll have to go retro with Snow Leopard.
    All subsequent updates were purchased from Apple on the Internet and downloaded.
    Not so. You use the recovery mode to reinstall Lion. Details in Recovery and About OS X Recovery. Also, see Computers using Internet Recovery.

Maybe you are looking for

  • HELP with error message

    I keep getting an error message that reads Attempting to copy to the disk "IPOD" failed. The disk could not be read from or written to. can someone help me fix this I only have 40 songs on the Ipod and 353 in my itunes

  • Scanner problem

    I'm currently working on a part of a program which asks the user for date and then looks through a txt file containing the following: ARCH251 VS318 2 am 25 LECKIE ROBINSON ARCH251 VSLT1 2 am 23 ROPER YOUNG BIOL241 CO119 2 pm 18 ABBOTT CHACHELLE BIOL2

  • Auto-replace two minus signs with a proper dash

    I wish Keynote would offer to do this! I've been cutting-and-pasting them into K06. K08 now offers a space to enter personal auto-replace 'requests', but putting "--" into the first column and a cut-and-paste dash (from--hold your breath--MS Word) do

  • af:tree issue

    Hi, I'm using the below code to get the pages from pages.xml <af:tree id="tree1" var="node2" initiallyExpanded="true" value="#{navigationContext.navigationModel[ 'modelPath=/oracle/webcenter/portalapp/navigations/MyLearningNavigation.xml'] .treeModel

  • When FTPing an HTML doc up to a site it becomes scrambled using Adobe Dreamweaver v11

    I have two systems and while one works fine, the other corrupts my html documents that I upload to the site. I have searched all over and made sure that my configurations are identical and that I am FTP'ing using ASCII.  When using my laptop running