• 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

container starts up and deployed web application.

 
Ranch Hand
Posts: 2066
IntelliJ IDE Clojure Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How does the web container know, when it starts up, that there is a web application already deployed? I'm reading HFSJ, there they told, when the tomcat starts up, it looks for looks for deployed web application. My question, how does it know this?

Thanks!
 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it searches the webapps directory for directories and deploys the applications in it.
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
IntelliJ IDE Clojure Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, once we deploy a web application, those directories will be created? and if we redeploy, those directories will be overridden? Please confirm! Thanks!
 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

So, once we deploy a web application, those directories will be created?



Tomcat has a webapps directory..
how do you deploy?
You put your web application's directory( or WAR file) in the tomcat's webapps directory and you start tomcat , once you do that tomcat finds your directory in webapps directory and deploys your web application.

and if we redeploy, those directories will be overridden? Please confirm! Thanks!



Why will one have to overwrite directories. When you redeploy (ex. restart tomcat) your directory is read and deployed again

Regards
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
IntelliJ IDE Clojure Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Parth!
 
reply
    Bookmark Topic Watch Topic
  • New Topic