users@glassfish.java.net

Long init webapp interrupt

From: <forums_at_java.net>
Date: Tue, 5 Apr 2011 04:49:36 -0500 (CDT)

Hi,

In a webapp on glassfish, I've a long init.

I do that in a ServletContextListener.contextInitialized but :

- if I do in current thread, the init stop at a time (the logs in the init
phase are no longer printed) and netbeans says to me : "GlassFish Server 3
Start Failed".

- If I launch a new thread from contextInitialized, no more log (neither by
Logger or by System.out)).

 

How to do to have my long init go until the end with the log printed as I
should want ?

Thanks.

 


--
[Message sent by forum member 'hervea']
View Post: http://forums.java.net/node/788646