• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Not Deploying Wars. Please help

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have done this a zillion times but for some reason tomcat has decided not to deploy my wars. I am using eclipse with an eclipse plugin to generate the wars. I checked the server.xml file and the localhost is set to unpackWars. I get no error message, it just simply does not extract my war file. I can manually extracted it with winzip. when I do that everything works perfectly but I don't want to manually do that everything. I'm just a lazy programmer! Has anyone else ran into this problem before, our am I just going NUTS!!
I am using Tomcat 4.1.
Thanks in advance,
Ryan
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you also define a context in server.xml ?

I had trouble getting the unpackWARs to work properly when the webapp was ALSO defined in server.xml.

It was quite frustrating... Here are links...

https://coderanch.com/t/81715/Tomcat/Tomcat-unpacking-wars

https://coderanch.com/t/82175/Tomcat/webapps-war-file-not-deploying
 
Ryan Bailey
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike,
Thank you very much. When I get home I'll look for a context entry in server.xml.
I was about ready to pull my hair out. Do you know of any other cases where this condition might also occur? If I'm not mistaken I do not think I put a context entry in server.xml unless I clicked on the wrong entry in eclipse. I surely will double-check though.
Thank you again,
Ryan
 
Ryan Bailey
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike,
Thanks you very much.
That was my problem. I would of never figured it out if you hadn't told me.
Thank you.
reply
    Bookmark Topic Watch Topic
  • New Topic