Re: Custom initialization after startup

2008-01-18 Thread Jonadan
t. -- View this message in context: http://www.nabble.com/Custom-initialization-after-startup-tp14937407p14965130.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.o

Re: Custom initialization after startup

2008-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonadan, Jonadan wrote: | At startup, I can check dbms status from ServletContextListener and if not | initiated, I can start as you suggested. It serialize the begining of dbms | startup process which create a bunch of service threads. Then quickly

Re: Custom initialization after startup

2008-01-18 Thread Jonadan
documentation for ServletContextListener. > -- View this message in context: http://www.nabble.com/Custom-initialization-after-startup-tp14937407p14957814.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: Custom initialization after startup

2008-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonadan, Jonadan wrote: | I need to start database before any servlet gets first request. ~From the servlet specification for ServletContextListener.contextInitialized: " Notification that the web application initialization process is starting. All

Re: Custom initialization after startup

2008-01-18 Thread david delbecq
Jonadan a écrit : Is there any way I can perform custom initialization IMMEDIATELY after Tomcat startup automatically? use lifecycle listener http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html - To start a new topi

RE: Custom initialization after startup

2008-01-17 Thread Jonadan
em without knowing the entire server is going down! Regards. -- View this message in context: http://www.nabble.com/Custom-initialization-after-startup-tp14937407p14947980.html Sent from the Tomcat - User mailing list archive at

RE: Custom initialization after startup

2008-01-17 Thread Jonadan
PROTECTED] >> Subject: Custom initialization after startup >> >> Is there any way I can perform custom initialization >> IMMEDIATELY after Tomcat startup automatically? > > Depends on what you mean by IMMEDIATELY. You'll at least need to insure > that the attr

RE: Custom initialization after startup

2008-01-17 Thread Caldarale, Charles R
> From: Jonadan [mailto:[EMAIL PROTECTED] > Subject: Custom initialization after startup > > Is there any way I can perform custom initialization > IMMEDIATELY after Tomcat startup automatically? Depends on what you mean by IMMEDIATELY. You'll at least need to insure

Custom initialization after startup

2008-01-17 Thread Jonadan
Is there any way I can perform custom initialization IMMEDIATELY after Tomcat startup automatically? -- View this message in context: http://www.nabble.com/Custom-initialization-after-startup-tp14937407p14937407.html Sent from the Tomcat - User mailing list archive at Nabble.com