This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes unpack war file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "unpack war file." Watch "unpack war file." New topic

unpack war file.

tina andrews

Joined: Sep 29, 2006
Posts: 3
We have apache tomcat 5.0.28 installed on iSeries.
The server works fine we could open the home page of apache tomcat on port 8080.
But when deploying a war file it doesn't unpack the file, when we put it in the webapps folder.
The first time it went perfect. It automatically unpack after deploying the war file.
But after that we had to remove it and deploy it again, but it didn't unpack.
What can be the problem and how can we solve it.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
Did you delete the directory that was created by unpacking the first WAR?
I think that if Tomcat sees an unpacked directory that matches the WAR name, it does no further checking to see if the war changed.
subject: unpack war file.
Similar Threads
when configure tomcat new Context tomcat creates me 2 web apps
How can I deploy unpacked war on WebLogic?
Not unpacking .war archive in the server
properties file
Apache - Tomcat 4 + webapps = nightmare