Raju Balugu wrote:
So,On which basis it will load that?(For example Alphabetical ..etc)
What MarkT said.
Tomcat will load the webapps in whatever order it gets them from
File.listFiles() (which is *not* guaranteed alphabetical!), and then
during shutdown, it unloads them in some internal hashtable values() order.
Short answer: you cannot rely on any order during startup *or* shutdown.
In particular, shutdown order != reverse(startup order).
Longer answer: if you want a **non-portable** solution that guarantees
order, you have to write your own wrapper around the Embedded class and
write the deployment routine yourself. That's what I have done for our
product which uses an embedded Tomcat to bring up a collection of webapps.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]