This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 428

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

Joined: Jun 25, 2001
Posts: 17035

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!