Mark Thomas schrieb:
Michael Ludwig wrote:
"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.
Not rather $CATALINA_BASE/conf/[engine]/[host]/[appname].xml ?
And does it also apply when the [appname].xml wasn't copied there by
Tomcat but placed there by the admin? I suspected that Tomcat doesn't
distinguish between the two cases.
If you overwrite the WAR/DIR then the
CATALINA_BASE/<engine>/<host>/context.xml will be left alone.
This should go into the doc (possibly in corrected form), unless it is
there in some form and we haven't seen it.
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
This seems to imply that you have to shut down Tomcat before static
deployment.
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
Just to be 100% sure, does that mean: Any WARs or web application
directories referenced from Context Descriptors found in
$CATALINA_BASE/conf/[engine]/[host]/ ?
Like:
C:\MILU\Server\Tomcat60\conf\Catalina\localhost\import.xml
C:\MILU\Server\Tomcat60\conf\Catalina\localhost\xpgj.xml
--
Michael Ludwig
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org