Michael Ludwig wrote:
> M4N - Arjan Tijms schrieb:
> 
>>>> I always just copy my web application statically to Tomcat's webapps
>>>> directory ("$CATALINA_BASE/webapps") for the production server
>>> Insufficient, as Chuck has pointed out: use the manager app.
>>
>> Does that, basically, mean that the static deployment method is
>> deprecated?
> 
> I'm getting this feeling, too. "Static deployment" does not seem to
> handle META-INF/context.xml - and that looks broken.

No, static deployment is not deprecated.

Static deployment *does* handle context.xml. It is working as designed.
If you delete the WAR/DIR *and wait for Tomcat to spot this* then any
CATALINA_BASE/<engine>/<host>/context.xml will be deleted.
If you overwrite the WAR/DIR then the
CATALINA_BASE/<engine>/<host>/context.xml will be left alone.

>> Currently the documentation says:
>>
>>> 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.
>> See: http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
>>
>> Reading this gives me the impression that I can use it. If I should
>> not use the static deployment mechanism, shouldn't this entry be
>> removed from the documentation?
> 
> It seems misleading indeed. Maybe the description of the "deployment
> sequence" should amend this sentence:
> 
> | 1. Any Context Descriptors will be deployed first.

This means any files found in CATALINA_BASE/<engine>/<host>/context.xml

Any suggestions to clarify the docs are welcome.

Mark




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

Reply via email to