Hello,
I am using Tomcat
5.0.28 and JSDK 1.4.2_11 on Linux. No Apache is
deployed.
From catalina.out, I
am seeing that _sometimes_ the HTTP/HTTPS connectors are started up before all
of my webapps are loaded. My deployment scenario:
-
4 webapps, each being deployed as a small war file containing just
META-INF/context.xml. The context XML points to a directory where the
actual webapp files reside
-
HTTP connector configured on 8080, and HTTPS is on 8443.
My understanding of
the sequence of startup is that
1- Tomcat initializes the connectors
2- Tomcat unpacks and deploys the webapps
3- Tomcat starts up the connectors, at which point Tomcat is ready to
receive and process HTTP requests
I thought that these
steps are done sequentially. But from observing catalina.out, I see that
sometimes the connectors are initialized and started before all webapps are
deployed.
I looked at 5.0.28
source and also browsed the mailing list, and it seems to confirm that my
understanding is correct, even though I admit that I did not go through every
line of code. Catalina.java's main method calls load() and then
start(). In start(), it calls start() on the Containers and their children
first and then start() on those connectors.
My requirement is to
have 1,2,3 occurred sequentially. How can I force this in
Tomcat?
I appreciate any
pointer.
Regards,
===================
Huy T.
Vo
Voice: 408-853-0535
Fax:
408-853-4021
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]