Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When a war is put t o CATALINA_HOME/webapps

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I got a few questions when a war is put to CATALINA_HOME/webapps


1. Is a context file created or is it mapped(specified) somewhere?
2. Where is it created?
3. How can I undeploy it? Is it enough that I delete the war and the directory tomcat produced?


Thanks!
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Timothy Sam:
Hi, I got a few questions when a war is put to CATALINA_HOME/webapps


1. Is a context file created or is it mapped(specified) somewhere?
2. Where is it created?
3. How can I undeploy it? Is it enough that I delete the war and the directory tomcat produced?


Thanks!


1.) If you have a context fragment file under /META-INF, it will be copied to {tomcat install}/conf/Catalina/localhost

2.) See 1

3.) Yes.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also deply/un-deploy, and check the status of your webapps from the tomcat manager application.
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic