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
-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
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.
-
-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
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
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
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
> 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
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