geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Geronimo Wiki] Trivial Update of "Tomcat" by JohnSisson
Date Tue, 10 May 2005 23:20:48 GMT
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:

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. 

View raw message