Running the thread of the child until the end even after that the main thread is terminated

I run a background task by using the task and the Service Api. When the main application creates little son, the main thread can be terminated without completing the child thread. Is this possible. Thank you.

Find out about the son of the devil.

Multithreading - what is Daemon thread in java - Stack Overflow

Read also the

Application section of the lifecycle in the javadoc.

Tags: Java

Similar Questions

  • Impossible to run the main.jnlp file by using java web start

    Hi all

    I try to install sas enterprise minor. When I try to run the main.jnlp file downloaded on the sas site, nothing happens. Could someone help me on this?

    I put the path C:\Program Files\Java\jre6\bin

    Thank you

    I am able to run it now after clearing java cache

  • Unable to turn on the window Defender, even after that I click on activate the defender of the window. THA page with the tool does not appear...

    Unable to turn on the window Defender, even after that I click on activate the defender of the window on my window vista home premium... The page with the tool does not appear...

    If you have
    one of the following AV, antivirus, programs installed, it will stop your
    Windows Defender. Purpose of these AVs have their own advocates. 2 defenders
    on the same machine will create conflicts.
    Bottom line: it's ok.
    It's normal.
    List of AVs which will stop Windows Defender

    Norton
    McAfee
    AVG
    Microsoft Security
    Essentials

    If you do not have the
    above AV programs, here's how to do to restart Windows Defender:

    Start button > in the search box, type Services > press the Enter key > scroll to find Windows Defender, click on it >...
    topic status , it must be said... Has begun
    under Startup Type, it must be said... Automatic
    If it does not say that, right click on Windows
    Defender > click Properties > to
    Startup type, click on the pointer to the right and select automatic
    to the service status, click Start
    Click OK when finished.

  • Run the main program simultaneous child concurrent program

    Hello

    I am trying to execute the concurrent program of child of the main competitor program as below, could you suggest me on below.

    Database: 10 g

    Main_Concurrent_Program
    =================

    1) will update the intermediate table XXID_PO_ITM = 1,2,3,4,5 Batch_id
    This staging table has 1000 rows, so each 200 lines will be updated with one of the above batch_id
    This logic works.

    Child_Concurrent_Program
    ================
    (2) above program main competitor has to call under Child_Concurrent_Program.
    This Child_Concurrent_Program will be setting batch_id (based on above batch_id)

    So, this Child_Concurrent_Program is expected to launch with batch_id = 1
    Simillarly, Child_Concurrent_Program should start with batch_id = 2
    Child_Concurrent_Program should start with batch_id = 3
    Child_Concurrent_Program should start with batch_id = 4
    Child_Concurrent_Program should start with batch_id = 5



    Could you give me some suggestions on this?

    Thank you.

    Check with FND_SUBMIT to submit a simultaneous work with dependencies of the child. Keep in mind that once you call the API... it creates its own thread and and becomes a standalone process. Control is no longer maintained in the calling package.

    procedure submit_interface_data(p_schedule_date in date,p_mm_header_id in number,p_req_id out number)
    is
      v_user_id            number;
      v_application_id     number;
      v_responsibility_id  number;
    begin
                select user_id
                into   v_user_id
                from   fnd_user
                where  user_name = 'USER123';
    
                select application_id,
                       responsibility_id
                into   v_application_id,
                       v_responsibility_id
                from   fnd_responsibility_tl
                where  responsibility_name = 'General Warehouse';
    
      fnd_global.apps_initialize(v_user_id,v_responsibility_id,v_application_id);
      p_req_id := fnd_request.submit_request ( application => 'XYZ',
                           program     => 'MOVE_CONC_SHORT_NAME',
                           description => null,
                           start_time  => p_schedule_date,
                           sub_request => false,
                     argument1   => p_mm_header_id);
    
      commit;
    exception
     when others
       then
         spl_log_pub.write_exception(transaction_id   => null,
                                     transaction_type => null,
                                     error_message    => '' ||
                                     'sqlcode: ' || sqlcode ||
                                     'sqlerrm: ' || sqlerrm);
    end submit_interface_data;
    

    Published by: sreese on May 18, 2012 15:16

  • The Adobe Flash plugin broke down even after that I do exactly as told on aid

    I get "the Adobe Acrobat plugin broke down." no matter how many times I reload the page or download the plug in. On my plugin page Check the download says it's up-to-date. I hate IE, but am forced to use it for the sites where this is happening to me. I have FF 10.0.2. This never happened with previous versions of FF.

    Let's run through a few things here to get your flash work:

    First of all, download and run the Flash uninstall program: http://kb2.adobe.com/cps/141/tn_14157.html. You probably want the 64-bit version. After that worked, restart your computer, and then we will upload a new version of Flash. Try to download and install it from here.

    Once you have flash installed again, start Firefox and see if you get any errors. If it works, great, if not, let's move on.

    Start Firefox in Safe Mode (do not select one of the boxes that appear). If the Flash works here, so it's one of your addons that causes a problem.

    If we are still a problem, try to update your graphics driver.

    If none of these work, read the Troubleshooting plugins section and let me know!

  • Why I repeatedly get a security update for Windows Vista for systems (KB2676562) and update for Windows Vista (KB2679255) focused on the x 64 even after that both have been installed successfully?

    update of security (KB2676562) has already been correctly installed 21 times, began towards the end of May.  Update for Windows Vista (KB2679255) was successfully installed 35 times, he began in mid-April.  These two continue to update themselves every day and do it at least twice a day, back to back.  It is very frustrating to have to deal with that and makes me think that something may be a problem with my computer.  I had heard of registry cleaners is not not a good thing to use, if recently I not unhooked my registry free cleaner.  I hope that it has not caused my computer to lose any registry key values.  Does anyone know a possible solution or what I need to do? I thank everybody help, please!

    Hollow salvation of the farm,

    Try these steps
    Method 4: Reset the contents of the Catroot2 folder
    go to start > all programs > Accessories > right click on command prompt > run as administrator
    Reset the contents of the Catroot2 folder. To do this, follow these steps:
    Type the following commands and press ENTER after each command:
    net stop cryptsvc
    MD %systemroot%\system32\catroot2.old
    xcopy %systemroot%\system32\catroot2.old /s %systemroot%\system32\catroot2

    output
    Restart the PC and then
    Method 8: Rename the folder C:\Windows\SoftwareDistribution
    Rename the Windows Update temporary C:\Windows\SoftwareDistribution folder. To do this, follow these steps:
    Open an administrative command prompt window.
    Run the following commands and press ENTER after each command:
    Net stop wuauserv
    CD %SystemRoot%\System32
    Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    Net start wuauserv
    Try to install updates again.

    also try to scan your computer
    Method 1: Use the Microsoft Safety Scanner to scan your computer for viruses and malware

    To analyze your computer by using the Microsoft Safety Scanner, click on the following link:

    http://www.Microsoft.com/security/scanner/ use the software to combat spyware and antivirus software to scan the computer.

    To see a list of third-party anti-virus software vendors, visit vhttp://www.microsoft.com/windows/antivirus-partners/windows-7.aspx.

    To download and install Microsoft Security Essentials antivirus software, visit http://www.microsoft.com/en-us/security_essentials/default.aspxc.

    Please come back if you need assistance
    Thank you
    Makoi
  • My computer keeps giving me the blue screen of death... even after that I reinstalled the operating system

    I have an emachines W3644... it came originally with windows xp family, but I currently have windows xp pro installed. It worked great for 4 months, no problems or anything. I got it sitting speakers... speakers were not connected or hung. I don't know if this could hit anything or not? My computer has 1.37 GB of RAM and the graphics card is a NVIDIA GeForce 6100 nForce 405.

    Questions are... Well, he keeps just randomly bluescreening. There isn't really a reason as that why, I'm the only person using this desktop computer, and I really did something to do that. I have scanned with many different scanners, and they found simple things like false positives and tracking cookies, none of which is a big deal.

    I tried many things to fix this myself... but nothing has worked. I'm starting to wonder if it's something to do with the material?

    I tried many things... include system restore, using the last known settings who worked, and also something to do with the domain controllers, or whatever.

    No one has solved the problem. He continues to randomly bluescreen. Also, a few times I clicked on records and he told me that they were corrupt, and when I right click on them and click Properties, it says that this folder contains 0 bytes of data... when there is more than 1 GB of stuff in there. This is the folder where I put my icons of computer maintenance and other things in.

    Then I'll reboot it'll randomly blue screen while windows is loading, he'll also do to the logon screen and sometimes even after connection... sometimes I it will load everything very well and it'll be on the desktop and I will leave the room and return, and it will be on the blue screen.

    I'm not sure what to do at this point. I reinstalled windows... and he still bluescreens. I copied most of the error codes he gave me... If someone could tell me please what they mean, or be of any help that would be great. I tried a lot of things... even reinstall... and he still continues to bluescreen. I also unplugged then replugged... all that does not work either. I also tried in safe mode, even in safe mode it bluescreens, sometimes even during loading safe mode.

    Anyway... Let me just enumerate all the error messages I've written... Please look at and if you know what NONE of them speaks, please let me know. I just want to know what his question is... so I can hopefully do this fix, or at least get another or something.

    Here are the error codes I wrote last week.

    STOP: 0X0000008E (0XC0000005, 0 X 00000322, AA4D7C68, 0X00000000)

    It mentions something about my bios if I remember correctly...

    STOP: 0X0000008E (0 x 0000005, 0XC0000005, 0XBF8A58CB, 0XA84EE96C, 0x00000000) win32k.sys-address BF8A58CB base at BF800000, DateStamp 4a8564c7

    STOP: 0X0000008E (0 X 80000004, 0X8165CE81, 0XAF311B38, 0X00000000)

    STOP: 0X0000008E (0XC0000005, 0X805656DE, 0XB7AC9770, 0X00000000)

    BAD_POOL_Header STOP: 0 x 00000019 (0x00000020, 0XE210A998, 0XE210AA38, 0X0C14020D)

    DRIVER_IRQL_NOT_LESS_OR_EQUAL STOP: 0X000000D1 (0X0001000C, 0 x 0, 00000002 00000000, 0X8A2D2700) wmaud.sys - address 8A2D2700 base at 8A2D2000, DateStamp 48025c3e

    STOP 0X0000008E (0XC0000005, 0X80564BB5, 0XA90F0C80, 0X00000000)

    PAGE_FAULT_IN_NONPAGED_AREA STOP: 0 X 00000050 (0 X 80898298, 0X00000000, 0X00000001, 0X8054BBB4)

    The BIOS in this system is not fully compliant ACPI STOP: 0X000000A5 (0 x 00000011, 0 X 00000007, 0XF771F180, 0 X 03000000)

    PAGE_FAULT_IN_NONPAGED_AREA STOP: 0 X 00000050 (0XBC99E00C, 0X00000002, 0X00000001, 0XAC9A203C)

    STOP: 0X0000007E (0XC0000005, 0 X 00002300, 0XB85E29F4, 0XB85E26F0)

    STOP: 0X0000008E (0XC0000005, 0X805454F3, 0XB9359B5C, 0X00000000)

    It's all the ones I copied. I tried to reinstall and still get errors. Please, someone tell me what these codes mean as soon as POSSIBLE.

    Thank you.

    If the RAM is only four months and you have identified that it is at the origin of the problems (e.g. the BSOD happen when only a single module of RAM is in) and then even after four months it can always happen.  Things such as ESD (Electro Static Discharge) or plug the RAM while it is still on the motherboard can cause these problems to happen... but they may or may not happen immediately.  The RAM could be faulty from the beginning, but has only gotten worse.  But unfortunately there is nothing that can make it work, if it is faulty, then it has to go back for a refund/replacement - as boring (and believe me, I know) that it is.

    0X000000BE normally concerns pilots in regards to the 0 x 00000050 - this normally either bad RAM, video memory, and bad devices (although not very likely) or bad memory Cache L2 (did not have a lot of people), but it can also be bad device driver software.

    I wish that the BSOD errors are actually more accurate as to describe what is at the root of the problem but they are not, and most of the time, it is by a process of elimination that we can solve the problems. However, I would say that if your original RAM works in the machine and you get only BSOD when the new RAM is in, then the new RAM is the culprit.

    Here's a little info on the RAM and it does: http://www.technologybasics.co.uk/WhatIsRAMAndWhatDoesItDo.html

    I hope I covered everything, but other questions, do not hesitate to ask :)

    --> I hope this helps! Please mark it as correct answer or vote if it does :)<>

    http://www.pcuk.biz - my Web site | http://www.systems-and-solutions.co.uk - where I work


    Info from Microsoft about phishing . Information from Microsoft on the fake security software

  • Even though I have my iPad WiFi connects to the internet even after that I have reset the network settings

    Having never had a problem with my iPad since buying about 3 years ago, suddenly I can't access the internet use it & none of the applications that need the internet have access either. (since the last update for IOS 9.3) I have reset the settings of the internet and the WiFi signal at the top is visible. Airport app told me that I have access to the internet, but I did not!  Does anyone else have this problem? I would really appreciate a quick solution, because it's so annoying when things sync and I need them to-such as the events of diary, photos email etc. not to mention the SMS!  Any help gratefully received!

    General suggestions for Wi - Fi problems, maybe one of them will help you...

    (1) perform a forced reboot: hold the Home and Sleep/Wake buttons simultaneously for about 15-20 seconds, until the Apple logo appears. Leave the device to reboot.

    (2) resetting the network settings: settings > general > reset > reset network settings. Join the network again.

    (3) reboot router/Modem: unplug power for 2 minutes and reconnect. Update the Firmware on the router (support Web site of the manufacturer for a new FW check). Also try different bands (2.4 GHz and 5 GHz) and different bandwidths (recommended for 2.4 to 20 MHz bandwidth).

    (4) change of Google DNS: settings > Wi - Fi > click the network, delete all the numbers under DNS and enter 8.8.8.8 or otherwise 8.8.4.4

    (5) disable the prioritization of device on the router if this feature is available.

    (6) determine if other wireless network devices work well (other iOS devices, Mac, PC).

    (7) try the device on another network, i.e., neighbors, the public coffee house, etc.

    (8) to restore the device (ask for more details if you wish).

    https://support.Apple.com/en-us/HT201252

    (9) go to the Apple Store for the evaluation of the material.

  • Firefox 4 does not save tabs even after that I have the settings to display the message "save and exit".

    As the title suggests. Basically after I changed the settings using the "topic: config" method and ONLY the parameters of the topic support told me to change Firefox 4 still does not actually save the legs after leaving. After the reset just FF4 restarts me to my home page. Now, I try only to save anywhere between 2 and 5 to the more tabs.

    Firefox 4 saves the previous session automatically, so it is no longer necessary for the dialog box asking if you want to save the current session.

    You can use "Firefox > history > restore previous Session" for the previous session.

    There is also a button 'Restore previous Session' on the default on: Home home page.
    Another possibility is to use:

    • Tools > Options > general > startup: "When Firefox starts": "show my windows and tabs from last time '.

    If this does not work check that you do not run Firefox in permanent mode of private - browsing using Firefox without saving history .

  • Someone out there who has an ongoing problem with 7 refusing to print, even after that the driver was abandoned and re-installed?

    I have a Toshiba laptop that runs Windows 7 with an HP printer 6 L. I am running Open Office 4.0.0 and the latest version of Adobe Reader. To date, that the system is undesirable! The 6L display test endless pages but refuses to print anything out of system 7. I dropped 6 L Driver, registry & file cleaned up and optimized the system and then reloaded the driver off of the HP site but the system refuses to print. I even went up to turn off the printer for more than 24 hours to try to get the printer to the reduction in the memory and empty the memory to zero to try to kickstart the printer to pick up the 7 material systems. Up to present all this for nothing. 6L memory is fixed at 1 024 Ko and the document larger than I tried to print has been 136 k so the memory capacity must be nothing. Anyone, anyone, outhere who can help, please. I'm ready at this stage to give up the printer with an AX, since it is now beyond the frustration and get into madness! I must also stress that the 7 system also creates a (1 copy) in the printer Panel. There is no need too!

    Hi Mike,.

    Do you have an error message when you try to print from the Windows 7 computer?

    I suggest to refer to the following article and follow the steps.

    Solve printer problems

    http://Windows.Microsoft.com/en-us/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-8&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    You can also follow the steps in the following article.

    HP LaserJet 6L - cannot print from a custom Application Windows

    http://h20000.www2.HP.com/bizsupport/TechSupport/document.jsp?objectID=ipl00001&lang=en&cc=us&ContentType=SupportFAQ&prodSeriesId=25476

    Reference:

    HP LaserJet 6 L Printer series- Frequently asked questions

    http://h20000.www2.HP.com/bizsupport/TechSupport/DocumentIndex.jsp?ContentType=SupportFAQ&lang=en&cc=us&docIndexId=64178&TaskID=101&prodTypeId=18972&prodSeriesId=25476

    Feel free to get back to us if the problem persists. We would be happy to help you.

  • I have cs5 and it was working fine and now he keeps asking the serial number even after that I put it and gives it the green check mark then it goes straight to that now

    I have cs5 and it worked very well and now he keeps asking serial number, even though I put it and gives the green check mark then it goes straight to that now or it just goes to the license agreement and when I accept it is going t - he once again.  I have uninstalled completely and then reinstalled several times and still the same thing.

    Csingleton11,

    WIN8 is not listed as an operating system that can run CS5 (see technical specifications); However, some users were able to run it in compatibility mode with success. See this link if you want to give that a try: CS5 installation on Windows 8

    Guinot

  • There are sites (such as Google Maps) with context menus, which covers Firefox upward with its own context menu... even after that add the all-each have been disabled.

    What gives?

    1. Open the Options window (click Firefox, then Options)
    2. Go to the content panel
    3. Click the Advanced button to the right of 'Enable JavaScript'
    4. Select the option "disable or replace context menus".
    5. Click OK to save the settings
  • I still receive text messages from my phone in iMessage even after that I registered on the account.

    I have a user who has a work computer which he created his account staff iCloud to receive messages.  After realizing that he did not want his personal text on his work computer messages, he signed his personal account on the computer.  He continues to receive messages on the computer in iMessage.  How can I disabled it its text to be sent to his computer?  On his phone, I don't see on the phone how to disable message forwarding.

    Hello

    have you checked the settings and Messages on the iPhone? There should be an SMS transfer entry or similar (I have a German iPhone at hand only ;-)). I guess, you'll find his work computer there.

    Best regards, Lars

  • BlackBerry smartphones I can't download app from app world blackberry even after that I disabled the content protection

    I have disabled the protection of content, but still this message to disable content protection, whenever I try to download something out of app world for blackberry

    Hello and welcome to the community!

    This error often occurs when one tries, while USB attached to a PC, use the PC/browser interface web AppWorld. I recommend untether and rather use the AW interface on the device.

    Good luck!

  • Video collapses on the timeline even after that chapter markers are moved.

    Still and first Pro CS6.  Problem exists in both situations where there is dynamic linking and exporting to H.264 file.   Makes me think that it is more of a problem with Premier Pro problem.   Sometimes I lose my chapter to a poor green screen red United image.  for the AVCHD for clips from my camera.  Th clips are 1920 x 1080.  However, I also added images to the scenario as well.  The photos are great.  Usually 4788 x 3064 (jpg).  In Premiere Pro, I used "scale to the size of the image.   I wanted to get the most quality, so I left the great photos.

    There is a possibility that these large images are erasing my memory?  If so, what size should reduce down to?

    Or is it another problem?


    Two Duane

    Hi Duane,

    Please provide details, you make a Blu - ray or DVD in yet?

    About the stills in the first, generally better to match the sequence, UNLESS you intend to make movement on them (zoom/pan) then the extra resolution is advantageous. So you could take in Photoshop and resize them up to 1920 x 1080 before importing at first. The scaling in first could actually affect the quality if you use much more important to start with images.

    Thank you

    Jeff Pulera

    Safe Harbor computers

Maybe you are looking for

  • Clipboard does not open

    On Firefox on my Samsung Galaxy SII, the Clipboard does not work. I click on a field in data entry, or the URL bar, but I can't get the control handles appear. It works fine on all other applications on the phone. Why won't it work?

  • Deleted contacts can just add me and see my online status

    Why is - anyone can remove me from their list then readd me and see my online status, but to me, that shows that they are not the details to share with me? I didn't need to give them the permission to add me because I never removed them. Hope that ma

  • T60: Sabotage of detected error 0192 Embedded Security hardware

    I bought an IBM T60 laptop off a person. Initially, I had three error 0271, 2100, & 0192. I fixed the first two errors just stuck on the last error. One has been allowed to set the correct time and date. The second error is corrected by replacing the

  • 3 seconds of discoloration Hotkey Manager

    Hi all In fact, this is my first post, because im having a problem that I'm not able to solve. We have an envoirment enterpirse with 400 + T540p portable computers. These laptops got the latest hotkey driver installed via SCCM, with the following opt

  • HP deskjet 3050 j611

    I just installed hp deskjet 3050 a j611 operating system is MAC OS X 10.6.8 can't print wireless "host network busy" is displayed if try and print information from IP address it prints wireless what settings are missing