Hi Steve,

>
>That file is only updated in certain circumstances.  check that your
>circumstances fit those.  here's a good place to start:
>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Au
>tomatic%2
>0Application%20Deployment

Ok. I see...

>
>I adopted the habit of restarting with a script, which deletes the
>$CATALINA_HOME/conf/[enginename]/[hostname]/webappname.xml files then
>restarts TC.  Just to be sure.

I figured this would be the case.

>
>also, when you say that context.xml is within META-INF, is this within a
>war, or an open filesystem?  (It needs to be in a warfile).

I am using a warfile, however, it does get expanded to the webapps
directory, so
there is also an open filesystem. Should my docbase be pointing to the .war
in my
context.xml, and not the directory?


>
>> -----Original Message-----
>> From: Nick Pellow [mailto:[EMAIL PROTECTED]
>> Sent: Friday 05 November 2004 14:48
>> To: Tomcat Users List
>> Subject: META-INF/context.xml not overwriting
>> Catalina/localhost/webapp.xml after redeploy.
>>
>>
>> Hi,
>>
>> I am using a META-INF/context.xml in each of my webapps to define
>> Resource-Links to global resources defined in my server.xml.
>> (Tomcat 5.0.28)
>>
>> Upon the initial deployment of the war, tomcate creates a copy of this
>> context.xml
>> under $CATALINA_HOME/conf/[enginename]/[hostname]/ called
>> webappname.xml .
>>
>> When i then redeploy the same webapp ('webappname'), with a
>> META-INF/context.xml,
>> $CATALINA_HOME/conf/[enginename]/[hostname]/webappname.xml
>> does not get
>> updated.
>> Is there a means to enable this under Tomcat 5.0.28, or is
>> this a security
>> feature?
>>
>> Cheers,
>> Nick.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to