Hi Iain,
From a previous question I asked on the list:

If you use auto-deploy and you have a WAR file or directory in the
"webapps" directory, then any "path" attribute you have in your
<Context> element will be ignored (or, worse, confused and used ion some
weird way). Perhaps this is a problem with your deployment. 

> -----Original Message-----
> From: Emsley, I (Iain) [mailto:[EMAIL PROTECTED] 
> Sent: 17 August 2007 15:21
> To: users@tomcat.apache.org
> Subject: context.xml not being copied across on deployment
> 
> Dear Tomcat users, 
>  
> I'm trying to get a calendaring system (which also uses Ant) 
> to load its applications from 
> C:\foo\apache-tomcat-5.5.17\webapps. I've set  a build file 
> at c:\docs and settings\userid\foo.build.properties which 
> links to a foo.properties and foo.options.xml. These point to 
> the context.xml file in catalina home\web 
> apps\META-INF\context.xml (I've posted one the lines for the 
> tomcat context:
> org.bedework.app.Events.tomcat.context.xml=/META-INF/context.xml).
>  
> When I start Tomcat, the WAR files in webapps are deployed 
> but the context.xml files are ignored (they are required as 
> I'm changing the database from Hypersonic to MySQL). 
>  
> When I check the xml files in
> \apache-tomcat-5.5.17\conf\Catalina\localhost, I'm still 
> getting the context for Hypersonic rather than MySQL. 
>  
> It appears that the WAR files are being copied in whole 
> whilst my update is being ignored. I would be grateful for 
> some pointers as to what else I can try to solve this issue 
> and to learn from it for the future.
>  
> Many thanks, 
>  

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to