Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not unpacking .war archive in the server

 
Sanjib Pal
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18302
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic