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
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: 10441

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: 430

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

Joined: Jun 25, 2001
Posts: 17410

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!

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Not unpacking .war archive in the server
It's not a secret anymore!