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
-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
-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.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
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
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
that the Host attribute
]
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 Host attribute deployOnStartup is true (it is by default
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 Nabble.com