aspose file tools*
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
Author

Not unpacking .war archive in the server

Sanjib Pal
Greenhorn

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,

Thanks,
Sanjib


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

Joined: Jul 20, 2005
Posts: 10105
    
165

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 (http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server).
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16068
    
  21

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: http://aspose.com/file-tools
 
subject: Not unpacking .war archive in the server