> > Well, the JVM can of course only exit after all non-daemon threads have > > been stopped or after a call to System.exit(int). > Yes the problem is that we are not calling System.exit and even that > non-daemon thread is created the JVM exit without waiting it.
Just a shot in the dark, but did you check the output of that thread of yours? Since the system is shutting down it might be, that your Thread simply fails to do its work (e.g. due to a missing service or something) and bails out early. If your thread dies, then it would make sense that you see your described behavior. bye, Michael OT: Please check your mailer settings. It seems you are spamming the list, as each of your emails arrives here numerous times. (or is this just me?) The information included in this e-mail and any files transmitted with it is strictly confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately by e-mail and delete this e-mail as well as any attachment from your system. If you are not the intended recipient you are not authorized to use and/or copy this message and/or attachment and/or disclose the contents to any other person.

