tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emsley, I \(Iain\)" <I.Ems...@rl.ac.uk>
Subject RE: context.xml not being copied across on deployment
Date Tue, 21 Aug 2007 13:48:51 GMT
Hi Chuck, 

I've tried removing it but the redeploy is still copying over the WAR
version. I've rechecked the paths for the tomcat.context.xml which is
pointing apparently to the correct place. Is there any thing else that I
can check? 

Iain  

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: 17 August 2007 15:30
To: Tomcat Users List
Subject: RE: context.xml not being copied across on deployment

> From: Emsley, I (Iain) [mailto:I.Emsley@rl.ac.uk]
> Subject: context.xml not being copied across on deployment
> 
> 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.

A <Context> element in conf/Catalina/[host]/[app].xml will override the
one in the webapps's META-INF/context.xml file.  Try removing the
conf/Catalina/[host]/[app].xml file first, either as part of your
deployment script or manually.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


Mime
View raw message