users@glassfish.java.net

Re: [urgent] problem in starting server when the app already

From: <glassfish_at_javadesktop.org>
Date: Sun, 31 Aug 2008 08:51:53 PDT

It may simply be a conflict with the initializing thread, so suspending/sleeping may not help. You might also try spawning a new thread to do that initialization, and let that sleep instead.

Just be careful of other dependencies that may try to use whatever you're setting up when they're not quite ready yet.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=296403