On Tue, Mar 31, 2009 at 10:56 AM, Rainer Frey (Inxmail GmbH)
<rainer.f...@inxmail.de> wrote:
>
> Then, is this intended behavior, or a bug?
>
> Rainer
>

Making a long story short:

It's expected behaviour.

>From the Tomcat 6 documentation
(http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html):

======= [ snip ] ========

Deployment on Tomcat startup

If you are not interested in using the Tomcat Manager, or TCD, then
you'll need to deploy your web applications statically to Tomcat,
followed by a Tomcat startup. The location you deploy web applications
to for this type of deployment is called the appBase which is
specified per Host. You either copy a so-called exploded web
application, i.e non-compressed, to this location, or a compressed web
application resource .WAR file.

The web applications present in the location specified by the Host's
(default Host is "localhost") appBase attribute (default appBase is
"$CATALINA_BASE/webapps") will be deployed on Tomcat startup only if
the Host's deployOnStartup attribute is "true".

The following deployment sequence will occur on Tomcat startup in that case:

   1. Any Context Descriptors will be deployed first.
   2. Exploded web applications not referenced by any Context
Descriptor will then be deployed. If they have an associated .WAR file
in the appBase and it is newer than the exploded web application, the
exploded directory will be removed and the webapp will be redeployed
from the .WAR
   3. .WAR files will be deployed

Note again that for each deployed web application, a Context
Descriptor will be created unless one exists already.

======= [ snap ] ========

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to