Two Laptop Bag*
The moose likes Tomcat and the fly likes When a war is put t o CATALINA_HOME/webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "When a war is put t o CATALINA_HOME/webapps" Watch "When a war is put t o CATALINA_HOME/webapps" New topic
Author

When a war is put t o CATALINA_HOME/webapps

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When a war is put t o CATALINA_HOME/webapps
 
Similar Threads
can not access the bean
Tomcat Question
JVM Configuration for Hosting Company
Tomcat lib directory
Unable to look jsp under WAR file