You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/11 01:20:48 UTC

[Geronimo Wiki] Trivial Update of "Tomcat" by JohnSisson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by JohnSisson:
http://wiki.apache.org/geronimo/Tomcat

The comment on the change is:
Added questions

------------------------------------------------------------------------------
  
  The heart of the module is the GBean itself, which is org.apache.geronimo.tomcat.!TomcatContainer. !TomcatContainer is given a set of deployed webapps that are of org.apache.geronimo.tomcat.!TomcatWebAppContext type. When a webapp is deployed, a configured !WebModuleBuilder is asked for handling it. There are two !WebModuleBuilders: !JettyModuleBuilder and !TomcatModuleBuilder. No matter what builder is used, the idea of deploying the webapp is the same. First, !TomcatModuleBuilder creates a plan (wraps it into !TomcatWebAppContext) and saves it in the repository (a place where configurations are stored). !TomcatWebAppContext's plan contains a reference to !TomcatContainer so that when the context starts up it hands itself over to !TomcatContainer for deployment. It's therefore important to change the module builder if the decision of running Jetty or Tomcat is to be made.
  
+ = Questions =
+ If anyone knows the answers to these, please update the Wiki.
+ 
+  * How is a module builder is selected when a web-app is deployed.  E.G. what happens if I have both a geronimo-jetty.xml and a geronimo-tomcat.xml file in the WEB-INF directory and both Jetty and Geronimo are configured. 
+ 
+  * What are the steps to disable Jetty and only have Tomcat.  I would imagine the majority of users would want to use one or the other, but not both. 
+