Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 26th, 2005, 06:58 PM
Registered User
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default New War File Will Not Replace Old One

Can anyone help with this problem?

I am using an xml context file to point to my war file. In tomcat4 when I had a new version of the WAR file, I simply replace the old one and restarted tomcat. I can not get tomcat5 to work like this. I replace the old file with the new one, restart tomcat5, go to http://localhost:8080/MyApp, and the old WAR is still running. The only way I get the new one to launch is by deleting the contents of webapps\MyApp and work\MyApp.

Here are the details. The xml context file is stored in


This is my context file:

<Context path="/MyApp"

From server.xml

<Host appBase="webapps"

Old February 25th, 2005, 05:45 AM
Friend of Wrox
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr

Delete the folder (\Bin) manually and recreate again.

Gokulan Ethiraj

Similar Threads
Thread Thread Starter Forum Replies Last Post
deploying war file in weblogic vivekkumar_23 J2EE 1 July 12th, 2011 06:58 AM
Deploying .war file in JBoss kalyansarkar108 Apache Tomcat 0 September 15th, 2005 07:40 AM
WAR file gauravchhabra9111 Servlets 1 February 11th, 2005 08:13 AM
WAR file gauravchhabra9111 Apache Tomcat 1 January 27th, 2005 12:34 AM
Extracting contents of a war file.. Pallav J2EE 1 September 24th, 2004 12:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.