> 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 deployOnStartup is true (it is by default), and that you implement a ServletContextListener for each webapp of interest. Read section 10 of the servlet spec for details of the latter. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]