Eric Berry wrote:
Mark, Chuck,
Thank you both very much for the detailed explanations. I can certainly
see how this would definitely speed development along, and how - in most
cases - the context.xml is unnecessary. I myself, have rarely used them
unless as Mark mentioned, I needed
Eric Berry wrote:
Ok cool. Thank you very much for clearing that up for me. The first time I
deployed the war, there wouldn't have been a context in any of the 3
locations mentioned above. As you said, it would have copied the context.xml
file from the war into the 3rd location as
From: Eric Berry [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5. META-INF/context.xml ignored when
deploying as war.
(Just expanding a little on what Mark gave you.)
Why recommend the use of the context.xml if it really isn't used?
It is used - Tomcat copied the context.xml file from
Mark, Chuck,
Thank you both very much for the detailed explanations. I can certainly
see how this would definitely speed development along, and how - in most
cases - the context.xml is unnecessary. I myself, have rarely used them
unless as Mark mentioned, I needed specific context parameters.
Eric Berry wrote:
Hello,
I'm trying to use the manager to deploy a war file creating using Maven
2. The war is a snapshot file which contains a META-INF/context.xml file. It
seems that this file is being ignored when deploying this way and the war
file-name is being used instead.
I
Mark, thanks for the reply.
You appear to have misunderstood. Which part of the doc did you get this
from and I'll see if it can be made clearer.
From my understanding of the the order of precedence.
[quote]
*Context* elements may be explicitly defined:
- in the
Eric Berry wrote:
Mark, thanks for the reply.
You appear to have misunderstood. Which part of the doc did you get this
from and I'll see if it can be made clearer.
From my understanding of the the order of precedence.
[quote]
*Context* elements may be explicitly defined:
- in
That isn't quite how it works.
$CATALINA_HOME/conf/context.xml
provides global defaults which can be overridden at the host level by:
$CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.defaultfile
which in turn can be overridden at the context level by: