Will a thread that dies cause the whole application to die?

For a critical business application, is there away of preventing the whole application from crashing when a thread dies unexpectedly (when performing a critical task for example)?
We can not afford that the whole application hangs due to an individual thread problem.
Our alternative is to go for multi-process design, but we still prefer multi-threading.
We would appreciate if someone could share their thoughts and experiences on this.

Thanks for your replies!!
It must not be possible that the
application dies when a trader is performing a
critical task.Of course, one can never guarantee the integrity of an application. Like the doctors always say, ".. there's always risk involved even in the most routine procederes." So bet on it being possible.
A few questions to your replies:
- What is exactly a self contained thread?I don't know exactly what the poster means by self contained. But he may be referring to threads that are independent of one another i.e., threads that don't block and the work produced by each thread has little or no consequence on any other thread. I'm not sure I can think of many practical applications for such a model given the context you provide.
- What makes the application "uncrashable" when using
self contained threads?Well, again, only mythical applications are "uncrashable". Even an independent thread can crash its containing process. Independent threads are relatively safe from one another only in that they cannot cause dead lock in your app.
- Can Fail Over Design be used also for client
applications?
Not really. Fail over usually involves cooperating processes on different machines. But with proper deadlock detection you can approximate some aspects of fail over in a single process multithreaded application.

Similar Messages

  • How to store global values for the whole application to use ?

    Hi,
    In our application, we have global values that is store in a parameter table, I want only to query it once, and it will be used every where from the whole application.
    e.g :
    I have general parameter tables that store :
    % Tax
    Current Period
    etc..
    Then these values will be used in our business rules in the whole application.
    How can I do that in ADF BC ?
    Thank you,
    xtanto

    I would go ahead and create a transient VO with an attribute called "userLanguage" and store the value at the initialization step.
    We generally call this type of VO as PVO which is a transient VO and contains only 1 record at any point of time. Keep this VO inside the RootAM and you can write a static util method as below..
    public static String getUserLanguageFromPVO()
    PVOImpl pvo = (PVOImpl)am.findViewObject("MyPVO");
    if(pvo != null)
    Row row = pvo.first(); //Always returns the one record
    return (row == null ? null :
    (String)row.getAttribute("UserLanguage"));
    return null;
    }

  • Since installing FF4 my pages are all scrambled..... black squiggley lines that sometimes fills the whole page or different parts. It is driving me crazy! PLEASE HELP! If I can't figure it out i will have to unistall and that will suck!

    Since installing FF4 my pages are all scrambled..... black squiggley lines that sometimes fills the whole page or different parts. It is driving me crazy! PLEASE HELP! If I can't figure it out i will have to unistall and that will suck!

    Since installing FF4 my pages are all scrambled..... black squiggley lines that sometimes fills the whole page or different parts. It is driving me crazy! PLEASE HELP! If I can't figure it out i will have to unistall and that will suck!

  • The new firefox twitter app is great - except it disappears every time I shut down the computer and I have to remove and then reinstall it every day!?? I am working on an iMac - if that is causing the problem ...? Thanks.

    The new firefox twitter app (mini tab on left of page) is great - except it disappears every time I shut down the computer and I have to remove and then reinstall it every day!?? It won't appear on the page until I do. I am working on an iMac - if that is causing the problem ...? Thanks.

    Eustace, thank you so much for writing back.  I will try what you suggested!!
    thx for your reply - apparently when I went to the Apple store a long time ago, they restore maybe photos and itunes etc from my external hard drive (passport).  I guess at that time they reinstalled an earlier operating system than my macbook came with and that somehow corrupted FileVault.  apparently there was no sparse bundle (whatever that is) for my old admin account and they said that ever since the install of the older OS that it was actually NEVER backing up anything in my admin account.
    Then, I bought Time Capsule and starting backing up to that instead.  I started having problems with it being slow etc and then StartUp Disk full errors and didn't know what to do, so I "Restored" from Time Capsule and that's when I lost everything in my Admin account and was locked out when I tried to log in - it said File Vault error ..."
    anyway - that's THAT sad story.  I was told to create a new admin account and I've basically been trying to start over - even though I have a partial save of my computer in Crash Plan and I DO see a sparse bundle listed in there, but I just don't know enough about computers to know if it's something I can get back or if I am just totally doomed. 
    I'm afraid to reinstall anything because if there is even a remote shot that the other files are still floating around in my computer, I feel like that chance will be shot forever.  I need to hire McGee from NCIS, I just KNOW he could get those files back for me!!!

  • I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    It is now confirmed  that iWeb, and iDVD, has been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. However, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    It now appears that the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on. However, the iLife 11 boxed version that is still available at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought.
    Personally, if I didn't already have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    This might be of some interest to you at this time: Life After MobileMe.
    OT

  • Safari was very slow in opening up Google sites.  I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section.  That seems to work well.  Are there any risks?

    Safari was very slow in opening up Google sites.  I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section.  That seems to work well.  Are there any risks to leaving the Configure IPv6 setting to Off?

    Nope. You can always reverse that if you choose.

  • The bookmark tab went from the right side to the left side. I did not change that. what cause the change from the right side to the left side?

    The bookmark tab went from the right side to the left side. I did not change that. what cause the change from the right side to the left side? Also the the Mozilla Firefox tab on the upper left hand corner changed.
    Its was a red colored tab and now its blue in color. I did not change any thing!

    Hey jimmiet,
    There were some recent ui changes around the downloads manager. What version where you on before? Anyway, you can customize things in Firefox really easily. Take a look at [[Customize Firefox controls, buttons and toolbars|this article on customizing Firefox]] for details. Should be a piece of cake to move the bookmarks button.
    As for the color of the button, you might be in [[Private Browsing - Browse the web without saving information about the sites you visit|Private Browsing]] mode. That changes the color of the button from orange to a purplish color.
    Matt

  • [svn:bz-trunk] 21017: Comment out the line in Tomcat7Valve that was causing the build to fail.

    Revision: 21017
    Revision: 21017
    Author:   [email protected]
    Date:     2011-04-05 05:59:33 -0700 (Tue, 05 Apr 2011)
    Log Message:
    Comment out the line in Tomcat7Valve that was causing the build to fail. I am not sure what this line was supposed to do - likely, this is not-functional right now.
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

    soon as you start up the computer, keep hitting the F1 key.  That should get you into the BIOS.
    Also, try disabling Active System Protection for your freezing issues.  I'm using XP so  I don't know where to tell you to find it in Vista.

  • HT201250 When Time Machine starts backingup, It popsup a small window that stays up the whole time it is backingup.  How can I make it do its job in the background without the popup?

    When Time Machine starts backingup, It popsup a small window that stays up the whole time it is backingup.  How can I make it do its job in the background without the popup?

    just let it do it for the first time.  actually you might want to option click the little symbol next to the time representing timemachine then click verify bacups
    Message was edited by: Carlo TD

  • Two part question 1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? 2) does installing messages beta on os x lion 10.7.5  delete ichat?

    Two part question
    1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? can you stil use AIM, jabbar, google talk, or yahoo?  if you open messages beta does it immediately tell you that messages beta expired?
    2) does installing messages beta on os x lion 10.7.5  delete ichat or just transform ichat into messages beta giving the illusion that ichat is deleted?

    Hi,
    It was never completely clear whether it was just hidden or whether Apple ran a download page for iChat 6.
    As the Download for Messages Beta was separate and "Deleted" iChat it would seem it would be another download for iChat 6.
    iMessages will not function as it is only an Account type within Messages and iChat 6 does not have it.
    Therefore messages on the iPhone will not sync to the Mac. (until you get Mountain Lion and Messages in that OS X version).
    Mountain Lion and it's full version of Messages will not sync the iMessages that have happened in between the 14th December 2012  (end date of Messages beta) and the Install of Mountain Lion if you decide on that route.
    8:51 PM      Sunday; May 5, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Is there a way to activate the whole application in Non Development system?

    Hi All,
    Is there a way to activate the whole application in Non Development system? Using some BRF Plus Tool.
    We copied a sample application and customized the same as per our requirement. The same is then released to Test System for testing. On Test system this application with all component is in non-active state. We re activated the application with all the component and released it to Test System. But still the application is inactive.
    Application is a of storage type system and so cannot use changeability exit to activate on test system.
    TR log shows imported with error. Below is the extract of the error:
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    BRF+: Runtime client: 000 / target client: 400
    BRF+: Object activation of new version started for 418 object IDs
    BRF+: <<< *** BEGIN: Content from Application Component  CA  *** >>>
    BRF+: <<< BEGIN: Messages for IDs (53465BA36D8651B0E1008000AC11420B/ )  Table 'Dunning Proposal Line Items (Table)' >>>
    No active version found for 23.04.2014 08:14:10 with timestamp
    No active version found for IT_FKKMAVS with timestamp 23.04.2014 08:14:10
    No active version found for IT_FKKMAVS with timestamp 23.04.2014 08:14:11
    BRF+: <<< END  : Messages for IDs (53465BA36D8651B0E1008000AC11420B/ )  Table 'Dunning Proposal Line Items (Table)' >>>
    BRF+: <<< *** END  : Content from Application Component  CA  *** >>>
    BRF+: Object activation failed (step: Activate )
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    BRF+: Import queue update with RC 12
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Errors occurred during post-handling FDT_AFTER_IMPORT for FDT0001 T
    FDT_AFTER_IMPORT belongs to package SFDT_TRANSPORT
    The errors affect the following components:
       BC-SRV-BR (BRFplus - ABAP-Based Business Rules)
    Post-import method FDT_AFTER_IMPORT completed for FDT0001 T, date and time: 20140423011412
    Post-import methods of change/transport request DE1K901989 completed
         Start of subsequent processing ... 20140423011359
         End of subsequent processing... 20140423011412
    Any help would be appreciated.

    Is IT_FKKMAVS part of the same transport request or was it sent already earlier?
    You may have a look at the request if it was OK. Probably not.
    Maybe in the meantime more requests reached the system that now have in combination solved the problem. What is your release and support package level?
    Higher versions of BRFplus have a lot of automatic correction mechanisms built into it.
    E.g. problematic imports are collected in an import queue. As soon as a request comes in that fixes any problems the after import processing for faulty imports is automatically redone.

  • SWFLoader problem(make the whole application zoomed in Mac)

    Hi,
    I am using swfloader to load an swf.  Everything works on different browsers in pc(safari, chorme, IE and ff). But when I launch this in safari in mac machine. whiling the application loading he swf file(same swf file(the size is 1024*720), whole application zoom in(everything become bigger). 
    Any help is appreciated.
    flash player version 10.1
    Thanks

    This bug seems only happened if your screen's resolution is not a native resolution. For example, if your screen's native resolution is 1650*1024 and you set your screen resolution to be 1440 * 1050, the whole application will be zoomed once you are trying to loader a swf.
    I believe this is a bug of flash player.

  • Firefox is working fine, but there is a blue band at the top of the screen that says, "Downloading the latest applications", and there is a swirly, circle thing that would indicate downloading, but it won't stop or go away. I just updated to the latest v

    My Firefox is working fine, but there is a blue band at the top of the screen that says, "Downloading the latest applications," and it has a swirly, circle thing that indicates something is downloading, but it never stops or goes away. I updated to the latest version of Firefox, but the blue band is still there.
    == This happened ==
    Every time Firefox opened
    == Just the other day. no matter how long the computer runs, it doesn't stop.

    This problem can be caused by the MSN® Toolbar (Tools > Add-ons > Plugins)
    See [[Troubleshooting plugins]]
    See [[Troubleshooting extensions and themes]]

  • Accidently removed the whole application directory

    I was using the terminal trying to unistall an application from aplication directory with the command line "rm -rf application/...." , Then I had accidently pressed enter before I finished the part after "application" in command line, my Macbook froze for about 15 seconds, and then I realized the whole Application directory is gone, now I can not open anything, I cannot even shut down the macbook.
    I am using  OS X moutain lion 10.8.2 and I don't have any dvd disk when I bought it.
    Please help...

    You'll need to do a hard shutdown.
    EDIT: Have you tried "shutdown now"?
    Boot up holding command-r keys into your Recovery Volume.
    The screen should give you these choices...
    Restore from TM backup
    Reinstall Mac OS X
    Get help online
    Disk Utility
    Choose Reinstall OS X. This will be an install "in place" and shouldn't effect any of your own data or settings.

  • Running 3.6.6. Have blue bar below the menu bar that says "Downloading the latest applications" with a progress twirly, never ends.

    Running 3.6.6. Tried 4 Beta, window was too large for monitor, couldn't resize, uninstalled. Now I have this blue bar below the menu bar in 3.6.6 that says "Downloading the latest applications" with a progress twirly, never ends. Removed 3.6.6 & reinstalled. Same problem.
    == This happened ==
    Every time Firefox opened
    == I tried 4 beta, then went back to 3.6.6

    That problem can be caused by the MSN® Toolbar (Tools > Add-ons > Plugins)
    See [[Troubleshooting plugins]]

Maybe you are looking for

  • My pictures are no longer downloading to my computer.  I don't know why

    I had been using photostream to push my photos from my Iphone 4s to my PC, to a folder on my desktop.  Then I would put those photos in other folders according to year/month/event/etc under my pictures.  I think I may have moved a folder but cannot f

  • Is it fair that apple make your device out of date

    It really is not right that apple can make your device outdated when there is nothing wrong with it. I have 2 ipads ones, 1 ipad two,  1 iphone four, 1 iphone two, and 1 ipod touch two. The Ipod touch and the iphone 2 work fine but are becoming more

  • Generation of XML using XSD

    I Have to generate XML file using XSD. I have the xsd available with me ,i have the values of elements also,now i need create a xml file using the XSD or DTD, with the values i got from the database. Kindly help.

  • Milky / Cloudy ghosted view & can't switch to story view

    I do layout work on a magazine and export stories for the editor using a Dropbox Incopy workflow. I use Indesign CS6 and the editor uses Incopy CS6. The editor was complaining that when she opened the files, everything looks "milky" or "cloudy" and i

  • Updating Sales document with new sub sequent sales document

    Hello All, I am creating one sales contract from one sales document through some user exits and batch jobs. After creating this new sales contract i want to update this doc number in Old Referenced sales document flow. Is there any standard function