Sergey Polzunov wrote:
>> I suppose it is common question, but one more time :)
This might be the only time it's ever been asked.
>> How I can specify application initialization order in Tomcat? Seems like it is
>> alphabetical order now. Is there any way to do it in configs and
>> withour file-renaming (01xxx.xml, 02yyy.xml etc)?
So far I have never heard of such a capability in Tomcat.
> Is there a particular reason you'd want them to be initialized in an
> order? The webapps are supposed to be tied to their own context,
> instead of being dependent on each other.
Tomcat handles servlets and JSPs only. Multiple web apps cooperating are
known as an "Enterprise Application", handled on full JEE app servers like
Glassfish, WebSphere or JBoss. I do not know if an enterprise app can specify
the load order of its components, but it shouldn't matter anyway - such an app
isn't loaded until all its cooperating web apps are loaded.

Signature
Lew