This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes war flie won't deply Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "war flie won Watch "war flie won New topic

war flie won't deply

Hui Ge

Joined: Mar 11, 2005
Posts: 25
I am using tomcat5.5, jsdk1.5, eclipse3.1, sysdeo tomcatplugin3 to create a simple war file with web.xml in WEB-INF and the class file in WEB-INF/classes. I download the dtd file and host it on my won machine so that i can code offline.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://localhost/dtd/web-app_2_3.dtd">



I cannot understand why my war file won't deploy. I looked into the webapps folder and the war file is not exploded into its folders.
Hui Ge

Joined: Mar 11, 2005
Posts: 25
After a fair amount of experimenting and investigating, i found out that the problem is after a test.war file is copied to webapps directory a test.xml file is created in conf\Catalina\localhost folder causing redeployment of test.war file to fail subsequently.

After i deleted the test.war file everything functions as normal. Which part of the server.xml file can i edit to change this behaviour?
jQuery in Action, 3rd edition
subject: war flie won't deply
jQuery in Action, 3rd edition