Force redraw before background processes start?

I am working on adding images to an HBox. After the user chooses the images from their hard drive, they are resized, JPEG-encoded then uploaded to the server.
The problem is that the selected images don't show up in their Image controls in my HBox until several seconds into the process.  I want them to show immediately so the user knows it worked, and they can keep going while the app runs the background processes.
I have tried several things, including placing event listeners for when the Image is added to the HBox:
hboxThumbnails.addEventListener(ChildExistenceChangedEvent.CHILD_ADD,updateHBox);
In the listener I have tried invalidateDisplayList, validateNow and invalidateProperties.  I have also tried calling these functions in other locations in the code prior to it starting the background processing code.
None of my attempts work. Typically the images show up in the HBox about halfway through the uploading process. (5-20 seconds depending on number of images selected)
I have had other instances where I need to force a redraw/refresh of a certain component while code is running, and I always face a similar problem.  Is there any way to prioritize a redraw?
Thanks.
Paul

HuckleSmothered wrote:When I run a command in the terminal that I want to have in the background, it still shows some output. I can still hit ctrl-L to get a command line I can type into, but if something happens with the previous background process, it will still show up in the terminal. This makes it difficult to type and use this terminal window any longer. Very frustrating.
What kind of output is shown - errors, warnings?
HuckleSmothered wrote:I've noticed that this also happens when booting up. The daemons start but I'll have a login prompt at the command line before the daemons state if they have started. Hence, I have to type my login after the text for this section of startup script. Very odd.
I've seen another thread with this problem, I'll thy to find it.
Edit: Here it is, see the screenshot: https://bbs.archlinux.org/viewtopic.php?id=129306 No solution yet.
Last edited by karol (2011-11-06 16:31:09)

Similar Messages

  • RAC instance won't start: ORA-00443: background process "VKRM" did not star

    I've logged a SR with Oracle, but while waiting for response from them...I'm stumped I can't find more out here about this article.
    On Oracle knowledgebase...any search for VKRM, gives about the same 3 articles relating to RDA (Remote Diagnostic Assistant).
    Not sure what went on here.
    I have a 5 node RAC cluster. All other instances seem to be running just fine.
    On one instance...some applications were getting an error like:
    ORA-01033: ORACLE initialization or shutdown in progress
    I looked in GRID...and it indicated that only two of the 5 nodes had this instance running...which was strange in that with srvctl, it showed ll 5 up and running:
    [oracle@server2 bin]$ ./srvctl status database -d INSTANCE
    Instance INSTANCE1 is running on node server1
    Instance INSTANCE2 is running on node server2
    Instance INSTANCE3 is running on node server3
    Instance INSTNANCE4 is running on node server4
    Instance INSTANCE5 is running on node server5
    Anyway, thought I'd poke around. I started with trying to get srvctl to stop instance #2...in GRID it seemed that instance 2,4 and 5 weren't working.
    srvctl stop instance -D INSTANCE -i INSTANCE2
    This just hung...
    I thought I'd cycle all the nodes...so, did a ctl-c out of that one, and did:
    [oracle@server2 bin]$ ./srvctl stop database -d INSTANCE -o abort
    PRCD-1124 : Failed to stop database INSTANCE and its services
    PRCR-1065 : Failed to stop resource (((((NAME STARTS_WITH ora.instance.) && (NAME ENDS_WITH .svc)) && (TYPE == ora.service.type)) && ((STATE != OFFLINE) || (TARGET != OFFLINE))) || (((NAME == ora.instance.db) && (TYPE == ora.database.type)) && (STATE != OFFLINE)))
    CRS-2675: Stop of 'ora.instance.db' on 'server5' failed
    CRS-2675: Stop of 'ora.instance.db' on 'server4' failed
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    The ORA-01034 messages repeats a number of times...and the one with server4 and server5 repeated again too.
    I also got this:
    CRS-2680: Clean of 'ora.instance.db' on 'server2' failed
    CRS-2675: Stop of 'ora.instance.db' on 'server5' failed
    CRS-2675: Stop of 'ora.instance.db' on 'server4' failed
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    I get similar messages when I try to restart.
    clusters seem to be up, and other instances seem to be ok
    Looking at alert log...I found some strangeness in the traces
    Starting background process VKRM
    Errors in file /u01/app/oracle/diag/rdbms/instance/INSTANCE2/trace/INSTANCE2_dbrm_26982.trc:
    ORA-00443: background process "VKRM" did not start
    Errors in file /u01/app/oracle/diag/rdbms/instance/INSTANCE2/trace/INSTANCE2_ora_27467.trc:
    ORA-00450: background process '' did not start
    Errors in file /u01/app/oracle/diag/rdbms/instance/INSTANCE2/trace/INSTANCE2_ora_27467.trc:
    ORA-00450: background process '' did not start
    Error 450 happened during db open, shutting down database
    USER (ospid: 27467): terminating the instance due to error 450
    LGWR waiting for instance termination
    Instance terminated by USER, pid = 27467
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    opiodr aborting process unknown ospid (27467) as a result of ORA-1092
    Looking at the trace listed above:
    2011-05-09 12:17:18.305726 :84271119:db_trace:ksb.c@2157:ksbs1p_real(): [10254:6:464] KSBS1P: process DBRM trying to start background VKRM
    2011-05-09 12:17:18.305729 :8427111A:db_trace:ksb.c@2220:ksbs1p_real(): [10254:6:464] KSBS1P: process DBRM obtained PR enqueue to start background VK
    RM
    2011-05-09 12:17:18.306021 :8427111D:db_trace:ksb.c@2354:ksbs1p_real(): [10254:6:464] KSBS1P: creation error posted OER(1089)
    2011-05-09 12:17:18.306029 :8427111F:db_trace:ksb.c@2424:ksbs1p_real(): [10254:6:464] KSBS1P: out of loop: process did not start
    Trace Bucket Dump End: default bucket for process 6 (osid: 26982, DBRM)
    ORA-00443: background process "VKRM" did not start
    kskdbrmpa: reply error 450
    Any ideas? Again...I can't seem to find much of ANY information searching out there for the VKRM background process not starting...
    Thanks in advance,
    cayenne
    Edited by: cayenne on May 9, 2011 11:34 AM

    Anyone? Anyone? Bueller?
    Ok..have been on phone with Oracle support, and have them stumped so far.
    I've checked..other instances are running (except one other that failed to cleanly shut down with srvctl and same error messages).
    I've check...ASM is running on all 5 nodes. I've used crsctl to check CRS on all nodes..clustering seems ok.
    Memory while somewhat high...should have enough room...the system has never complained before, and this has been up on this config for over a year.
    I was able on node one...to fire up the first nodes instance using the pfile there...it came up. I started it restrict..and promptly ran a datapump export, and then shut back down.
    While Oracle support is going through logs and trace files I sent...I've got another 11Gr2 environment (3 node RAC) I've been using as a test environment...and am recreated the instance there temporarily to allow my developers to test and get past the upcoming deadline.
    But, I'm still puzzled as to the solution on the main cluster. This seem to be normal, except these two instances....
    any ideas on where and what to look for?
    cayenne

  • Background processes while starting the R/3 system

    hi all
    I have IDES R/3 4.7 installed in my hard disk,
    and when i start the background processes normally the status has to be Wait , yes.
    But these days when i started the processes, i'm getting the statuses as "Ended"  with all the 12 background processes,
    and i can't be able to get into the login screen.
    can anyone tell how to get the processes states to wait and yes state.
    Thanks

    Have a look at the dev_-traces located in /usr/sap/work directory. You should pay special attention to dev_w0 and dev_ms, and then look through the other dev_w files.
    I guess, there you will find a hint leading you to the cuase of the issue

  • Starting essbase as background process in 11.1.2

    Hi,
    We have installed 11.1.2 hyperion products. We are having issues with OPMN and its starting up.Without opmn we can start essbase in freground ..using the script
    startEssbase,bat file in D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin. startEssbase.bat in this folder starts essbase onforeground.
    the link between opmn and essbase is broken. So we want to start essbase without opmn control. startEssbase.bat in the D:\Oracle\Middleware\user_projects\epmsystem1\bin doen't not do anything as opmn link is broke.
    Can anyone provide soem suggestion on how I can make Essbase run ias background process without opmn.
    I have used option like start /b startEssbase.bat./ but did not work.
    Thanks
    Srinivas

    These work for me
    export outline sample.basic all dimensions to xml_file "D:\sample.xml";
    export outline sample.basic list dimensions {"Measures"} tree to xml_file "D:\SampleMeasures.xml";
    Ran from a client machine and it creates both the files on the local client machine.
    Have you tried running on the server, are you using a different version of Maxl from the server?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Essbase process started in background is going on "In Queue" State

    Hello,
    I am using 11.1.2.1. Any Essbase process started in background is going on "In Queue" State. And the process never starts.
    Any help would be appreciated.

    Hi,
    Try the following steps..
    1. Stop EAS
    2. Delete all the contents of WebLogic temp folder
    Location: EPM_ORACLE_INSTANCE/../domains/EPMSystem/servers/EssbaseAdminServices0/tmp/ --> delete all the content under this folder
    3. Start EAS server
    Hope it helps...
    KosuruS

  • Cannot start background process DTPR_13362_

    Hi ,
        Whenever DTP  is executed  in the Dev Server,it throws an error.
    Error  msg: Cannot start background process DTPR_13362_1 26.09.2011 14:17:44 1 Min. 50 Sec.
    while checking the message in the monitor screen the cursor is at this function.
    CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack
    Please let me know what needs to be done here so that DTP processed sucessfully.
    This is urgently required..thanks..
    Regards,
    Kalim.

    Hi
    Check how many parallel processes are defined for this DTP.
    display the DTP in RSA --> in menu bar click on "goto" --> "settings for batch manager"
    In the next screen you will get the number of processes assigned to this DTP.
    When you are running this DTP, check these many background processes are available in your system.
    If you want you can decrease this number9by default it will be 3)
    Regards,
    Venkatesh

  • Disk utility started, but a background process needed in disk utility didn'

    I am stumped. I have talked to tech support, read many threads on this error message, tried all the suggested solutions, and still I get this message "Disk utility started, but a background process needed in disk utility didn't start properly. Please quit and restart disk utility."
    The problem has been around for a while apparently. One technique called for removing iTunes to the desktop, trashing certain files in the library, then running disk utility. This did not work. Another suggestion was to trash, of all thing, the Chess program. This also did not work. Booting from the installation disk and running disk utility there to repair permissions also apparently does not work. Nor do third party software, such as YASU seem to get through to repair permissions.
    Given the number of discussion boards addressing this problem, i was stunned that applecare/tech support person I talked to had never heard of it. Please please please help!

    If you moved Disk Utility from the /Applications/Utilities directory, i.e. the Macintosh HD > Applications > Utilities folder, move it back to that folder.
    If memory serves, the "workaround" you cited involving iTunes only applies if you are using Mac OS X 10.3.9.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • I upgraded to Ios5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?

    I upgraded to IOS5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?

    Thanks but have tried that - When I try to restore I get a -50 error and into a loop of taking another back up.  I took a copy of the back up before the IOS upgrade and have it stored on my desk top but I cannot get Itunes to restore to that back up
    Any ideas how I can do this?

  • Starting background process EMN0

    i can see this;
    Starting background process EMN0
    what is EMN0?

    It is the event monitor process related to advanced queuing. See Metalink note 105067.1 about it.

  • Background Processing? how schedule job for "System Error" Message .

    Hello everyone,
    in sap help i have read.
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/frameset.htm
    PCK> Monitoring>Message Monitoring-->Background Processing
    you can schedule jobs for various background processing:
    ●     Archiving of messages processed successfully
    ●     Deletion of messages that are not to be archived
    ●     Restarting of messages with errors
    ●     Rescheduling of lost messages
    can anyone understand this docu?
    give me some introduction, how can i define and schedule these jobs ?
    thx in advance!!
    best regards
    Yaning

    Background Processing
    Prerequisites
    You have started the message monitor on the initial screen of the PCK and are in Background Processing.
    Features
    Archiving
    You require two archiving sessions to archive messages:
    ●     One session to write the messages to the archive
    ●     One session to delete the persisted messages that have been archived
    To do this, you schedule an archiving job, which implicitly schedules the sessions to write to the archive and delete the archived messages.
    You can define one or more rules for each archiving job; these rules contain conditions that a message must meet in order to be archived by the job. At least one of the defined rules must be met for archiving to take place.
    All information that is displayed for a message in message monitoring is archived, in addition to the audit log for each message.
    Deleting
    A standard delete job is created automatically. It runs once a day. You can schedule additional delete jobs; however, you cannot define rules for them.
    Restarting
    Instead of restarting messages with errors manually with message monitoring, you can schedule a job to automatically restart these messages. This is possible for all messages for which the number of defined restart attempts has been exceeded (messages with the system error status).
    You can define one or more rules for each job to restart messages; these rules contain conditions that a message must meet in order to be restarted by the job. At least one of the defined rules must be met for archiving to take place.
    Rescheduling
    A standard job to reschedule messages is created automatically. The job runs once a day and ensures that messages lost as a result of database failure, for example, are rescheduled. You can schedule additional rescheduling jobs; however, you cannot define rules for them.
    Thx Aamir.
    But I mean the messages with errors in Adapter Engine , not in Intergrations Engine.
    the situation is like Naveen Pandrangi's WebLog
    II. Errors in Adapter Engine [XI :  How to Re-Process failed XI Messages Automatically|XI :  How to Re-Process failed XI Messages Automatically]
    I
    Till now we have seen how to resubmit/restart message that failed in Integration Engine.  One a message makes it from Integration Engine to Adapter Engine, the message is flagged as checked in Integration Engine. The status of the message in Adapter engine does not effect the processed state in Integration Engine. Now if this message was asynchronous, XI will by default try to restart the message 3 times at intervals of 5 minutes before the status of the message is changed from Waiting to System Error .
    *how can i schedule a job to automatically restart these messages with errors?
    best regards
    Yaning
    Edited by: Yaning Liu on Aug 18, 2008 1:43 PM

  • Experience in ABAP OO and heavy background processing?

    Hi,
    we're planning to develop a new application with a (very) high part of background processing. We plan to use the ABAP OO. We also want to make a good OO-Design (with many SETTER and GETTER methods and so on). I'm afraid we will get a lot of "program to program" communication and we will atomize our application. Also it's sounds to me like a conflict with the stuff from the Performance-course BC490.
    Has anybody experience with ABAP 00 and applications that normally designed for a "number cruncher"?
    Thanks and regards,
    Stefan

    Hi Mariana,
    I've started with two technical prototypes that have a very little business logic. One prototype is designed in the "good old" ABAP and one in the ABAP OO and a selfmade OO-framework from our company. This framework is very comforable and offers a lot of methods and superclasses. For vectors there is a own superclass. So for you question: We use a own object to pass the vectors.
    Also we use the software objectif for the OOD. I've learned how important a good OOD is, before I started any coding.
    My prototypes have a very simple business logic. They creates bills for 10.000 invoice recipient. The only feature is, that every recipient can have his own customizing to decide which items should be together on one invoice to a individual invoice date. 
    I must admit that the API in the OO prototype are more understandable, but for the performance I see still the follow bottlenecks with the I/O:
    - When I instance a business object, all attributs are loaded into the memory.  In the old ABAP I use only the required fields. So the "smelly" SELECT *-Statement is back again...
    - A business-class (A) that have dependent business-classes (B1, B2, B3...BN) should instance his dependes objects with the first access the the class (A). When the classes (B1,B2...BN) has also dependent classes, this object should be instances (B1 has C1,C2,C3..CN), too. There is always a "vector"-class between this classes that notice the reference of his objects.In my prototype for example you have a invoice recipient.
    In my prototype for example I have a class invoice recipient (class A). This recipient has a vector of bill-header (class B) and every bill-header has a vector of bill-items (class C). Between every of this classe is a vector-class that manage the references of the objects.
    I've programmed this lazy (hope that this is the correct word that a OO-gurus use). This means I instance only the class A. If there is a call to a method from object A that need the information from the class B-objects, than i look if the reference of the vector-class for the B-Object is already available. When not I instance the vecotr-class and this reads all dependens object B.
    So there is much more I/O than in old ABAP, after all.
    However I'm a OO beginner.
    Therefore I'm waiting that an OO-expert from our company take a look to my prototype coding and improve this for a better performance. I'm looking forward for some good tips. I will let you know when I've good some other nuts and bolts.
    Perhaps SAP needs a OO-database instead a rational database, so that all GET-methods goes directly to the database to avoid a instance with all attributs in the memory of the application-server...
    Many greetings from germany,
    Stefan

  • FTPs - Status stuck in "Processing started"

    I am running PI7.0 SP10.
    I have a BPM conencting to a FTPs server to process multiple files into variable directories.  All works well - apart from...
    It is connecting to the Server okay, but not actually processing.
    In the Message monitoring, it says - Processing started
    Here is the audit log...  The names have been changed to protect the innocent!
    Success Message successfully received by messaging system. Profile: XI URL: http://server.fqdn:5<SYSNO>00/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    Success Message successfully put into the queue.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to DLNG.
    Success Delivering to channel: FTP_Receiver_EmployeeLookUp
    Success MP: entering
    Success MP: processing local module localejbs/CallSapAdapter
    Success File adapter receiver: processing started; QoS required: ExactlyOnce
    Success File adapter receiver channel FTP_Receiver_EmployeeLookUp: start processing: party " ", service "XE_TST_3RD_FTP_001"
    Success Connect to FTP server "ftp.ftp.ftp.ftp", directory "/variable/"
    This is stuck in processing... 
    I have spoken to the "owners" of the ftp site...
    In the their logs, they can see the connection, and "session started".
    Has anyone come across this before?  How can this be fixed/released and actually process?

    Barry:
      I was watching your thread from the day you posted since we had the same issue
    Even we have the same issue for the past month..we tried all sort of solutions to get rid of the problem but were not able to....its still exist..we have logged a ticket to SAP support and waiting for them
    for the time being we used "Availability Time Planning" to schedule the polling which is like forcing the channel to wake up and die in the time interval we want....
    (sometimes even it stops but not as frequent as the above)
    if you find permanent solution to your problem let me know

  • Could not support request for background processing

    Hello,
    We have a .NET 1.x application with CrystalReportViewer control.
    The application is running on a windows terminal server with approximatively 5 users using the applications and 10-20 logged on doing other stuff.
    When the user tries to preview the report using the CrystalReportViewer  object , the following exception is "sometimes" thrown 
    [translated from dutch]
    CrystalDecisions.CrystalReports.Engine.InternalException:
    error in file C:\Users\*username*\AppData\Local\Temp\35\{B8D10435-A104-4422-A220-6DB483DFC285}.rpt:
    The request could not be submitted for background processing. ---> System.Runtime.InteropServices.COMException (0x800002AD)
    The application then terminates and if the user restarts the application attempts to reload the report, it usually loads with no problem .
    It can not be intentionality reproduced but it does happen frequently.
    I have been Googling for this problem , but havn't found any solution.
    On this website however a link is provided to a BO KB article with a possible solution:
    http://aspadvice.com/blogs/rjdudley/archive/2005/10/26/13443.aspx
    However, the article appears to require a login, my SAP CR account i used to register on these forums does not to work.
    What can we do to determine the exact cause of this problem, or are there any known solution for this problem ??
    If you need any more information please do ask.
    also,
    We have a licence for CR 11 and so does our client, what steps would we need to undertake to get professional /payed support from SAP crystal reports for techinal issues like this, is there a way to open a support ticket ?
    Thank you very much for your time, any help is appreciated !
    Willem

    Hello:
    First I have to apologize for the troubles with CR 11.5 - not sure why that would be, but your frustration is understood. Perhaps sometime in the future we can look at this in another thread (e.g.; it should just work...).
    Anyhow, there is really no compeling reason for you to go to CR 11.5 (there are reasons (see below), but 11.0 is fine with framework 1.1).
    So to start off. Version 11.0.0.895 will need to be updated to SP4. See this|http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008%28and9.1%2CXIR1%2CXIR2%29-VersionandDownloadinformationforServicePacks] wiki. As you can see in the wiki, the latest version of CR 11.0 is updated to SP 4 with a version of 11.0.9500.x. Before we even start to look at this, you will have to get to SP4.
    Re. preference for CR 11.5. If the issue is not resolved with CR 11 Service Packed to SP 4, all we have left is; going to CR 11.5 - with the latest SP (SP6) as that is the version I would be testing with. Note that CR 11 is completely out of support now, CR 11.5 is out of patch support (e.g.; no fixes) and any support terminates in June of this year.
    And we have not even started to work the issue. Re-reading your initial post, I am starting to suspect that loading may be the root of the issue here. I'd recommend having a peek at the following:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d08468e2-a81d-2b10-faa9-9837f58ee1c2
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412
    The following article specifies CR 2008, but most if not all the points will apply to CR 11.0 also:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412
    The below will also be good to be aware of:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0070692-01a8-2a10-4797-ff0f5f73e1e1
    The following articles were written by me and may also apply:
    [Crystal Reports Maximum Report Processing Jobs Limit|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    [Improving Crystal Reports Performance in Visual Studio .NET Applications|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8029cc96-6ff3-2b10-47a2-b30ea790ea5b].
    I realize I've thrown a lot of info in here, but all of it may apply. In a way I feel like we've ended up across the river without crossing the bridge first, but let's see what comes out of all of this (teleporting worked for Captain Kirk   ).
    - Ludek
    Edited by: Ludek Uher on Mar 10, 2011 7:25 AM

  • Using ServletContextListener for background process in tomcat, problems?

    Hi, I am building a web app using mojarra 1.2, hibernate 3.2, mysql 5 and tomcat 6. Currently, there's a need to run a background process every hour to:
    1) query the database
    2) process information
    3) send emails to (big) list of individuals when matched
    4) update database
    5) must happen during business hour
    For now, my approach to this problem is to hook a Timer object inside a class implements ServletContextListener. So that every hour during business hour will process the steps above when Tomcat started until someone shut down shut down Tomcat or when it crash (hopefully that won't happen).
    I read a few articles, they claimed this is not a good approach because in a managed environment, background thread like this won't be in the scope of the container.
    Due to certain reasons, we can't deploy this part as a separate daemon (e.g: jsvc) yet. We'll need to wait for few other things to occur before can we deploy a full daemon services.
    The question for this post is: What are some of the potential problems we will be dealing with when running background thread like this in tomcat? What are some of the things we'll need to watch out for before real problems arise (e.g size of db connection, # of concurrent process, etc) what are some other pitfalls other experienced when deploying background thread in tomcat?
    We hope this solution will be able to handle what needs to be done until our daemon service is ready.
    Thank you for your opinions

    You can try this.. Which gives more grip... in making threads etc..
    Here is a class with a method that sets up a ScheduledExecutorService to beep every ten seconds for an hour:
    import static java.util.concurrent.TimeUnit.*;
    class BeeperControl {
    private final ScheduledExecutorService scheduler =
    Executors.newScheduledThreadPool(1);
    public void beepForAnHour() {
    final Runnable beeper = new Runnable() {
    public void run() { System.out.println("beep"); }
    final ScheduledFuture<?> beeperHandle =
    scheduler.scheduleAtFixedRate(beeper, 10, 10, SECONDS);
    scheduler.schedule(new Runnable() {
    public void run() { beeperHandle.cancel(true); }
    }, 60 * 60, SECONDS);
    }

  • Disk Utility Background Process Fails.  Combo Updater doesn't find Disk

    When I start Disk Utility, I get a message "error starting disk utility background process" with a "quit" button which can't be clicked. So, I force quit.
    When I try to run a combo updater (10.4.3 or 10.4.7), the "select volume" window shows no volumes.
    In both instances, the system log tells me:
    DiskManagementTool crashed
    And the console log tells me:
    dyld: lazy symbol binding failed: Symbol not found: _GPTuuidType2Human Referenced from: /System/Library/PrivateFrameworks/DiskManagement.framework/Resources/DiskManage mentTool
    Expected in: /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    dyld: Symbol not found: _GPTuuidType2Human
    Referenced from: /System/Library/PrivateFrameworks/DiskManagement.framework/Resources/DiskManage mentTool
    Expected in: /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    I have run fsck -y in single-user mode, repair disk and permissions in disk utility from my install disk, and Disk Warrior. Still the same.
    Is there any way I to fix this without rebuilding the machine?
    Thanks,
    Gary
    Powerbook G4   Mac OS X (10.4.3)  

    Hello
    I had the same problems. I don't know the cause but it surely comes from the "software update" software. In the future I will only use the combo updater that you can find on http://www.apple.com/support/downloads/macosxupdate1047comboppc.html
    I ended up reinstalling 10.4 from scratch and then running the combo update. It know works fine.
    Regards

Maybe you are looking for

  • Quark Express 6.5 won't quit on my Intel-based iMac

    Hi, At work I use a 20-inch Intel Core 2 Duo iMac (with 2GB RAM installed) and run Quark Express 6.5 as a PowerPC program through Rosetta. Quark runs fairly quickly and saves OK, but it never quits properly when I shut my Mac down normally, it just h

  • Need help with tool bar button to clear 10 fields on form

    I have 167 forms with 138 fields, I need to blank out or clear just 10 of them or so, can I create a butotn or script that is outside each document so I can open each one, andc lick this button? I don't want to add a button to all 167 pdf files. Or b

  • Downloaded game does not work

    downloaded  the darkness 2 on my 27 incn mac 3.2 ghz intel core i3 and 4 gb memory it wont start up and gives no error code need it fixed or refund money please help Heber

  • Table contorl

    Hi Guys, Please help me to solve - I have created a dialog in which , companycd, date is parmeters. Based the input data, tbl control is getting filled from the tables. 1. Table control input field problem - the moment user enter data and press enter

  • Burning CD to CD or DVD to DVD

    Is there any way to copy a CD or DVD?