How to deploy/redeploy when context.xml present

2004-10-30 Thread Allen Holub
Hi, Based on earlier discussions, I've opted to go with .war deployment. I find that my META-INF/context.xml file is not read all the time, however. (It seems to work when I do a remote deploy through the webadmin app, but not when I copy to the webapps directory. Often when I try to redeploy, I

Re: How to deploy/redeploy when context.xml present

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 10:28:59AM -0700, Allen Holub wrote: : Based on earlier discussions, I've opted to go with .war deployment. So far, so good. ;) : find that my META-INF/context.xml file is not read all the time, : however. This is true: Tomcat doesn't compare a WAR file's

Re[2]: How to deploy/redeploy when context.xml present

2004-10-30 Thread Allen Holub
Hi QM, Q This is true: Tomcat doesn't compare a WAR file's META-INF/context.xml Q to its corresponding copy in Q {tomcat}/conf/{engine}/{host}/{file}.xml; Q if the latter file already exists, Tomcat ignore the former. Q If you use *only* WAR files you can use a custom Tomcat start/stop Q script

Re: How to deploy/redeploy when context.xml present

2004-10-30 Thread QM
On Sat, Oct 30, 2004 at 03:47:11PM -0700, Allen Holub wrote: :1) Stop Tomcat :2) delete the .../conf/Catalina/localhost/myAPp.xml file :3) copy the new version of the .war to /webapps :4) restart tomcat That's what I do, at least. : Do I also need to delete the unpacked