File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Not unpacking .war archive in the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not unpacking .war archive in the server" Watch "Not unpacking .war archive in the server" New topic

Not unpacking .war archive in the server

Sanjib Pal

Joined: Feb 08, 2010
Posts: 27
Hi all,

In my tomcat server .WAR archive not unpacking. I need to unpack the .war file in the server.
How can I do that,


SCJP 5.0
Try unless you get the ultimate success.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10067

How do you generate the .war file? You can use any build script to unpack the .war yourself and then place it in webapps folder of Tomcat

[My Blog] [JavaRanch Journal]
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Or you can check your server.xml and set the autodeploy-setting to true (
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019

If your webapp depends on an exploded WAR it's not J2EE/JEE compliant.

And under NO circumstances should you ever write data into an exploded WAR!

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Not unpacking .war archive in the server