geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Geronimo Wiki] Update of "Tomcat" by jgenender
Date Fri, 27 May 2005 19:36:50 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 jgenender:

     A module builder is selected by uncommenting the Tomcat section in j2ee-runtime-deployer-plan.xml
and commenting out Jetty section. Thus either TomcatModuleBuilder or JettyModuleBuilder gbean
is created. When Tomcat is selected, it will only use geronimo-tomcat.xml file and invoke
Tomcat container.  
   * 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? 
-     Currently it is not possible to configure Geronimo without Jetty. Some more work needs
to be done before Tomcat can act as a replcement container. By default there are no port conflicts
and hence both can coexist. Applications can be deployed to either of them as mentioned above.

+     Tomcat can fully replace Jetty as a web container. All references to Jetty must be commented
out.  Finally in the j2ee-deployer-plan.xml and j2ee-runtime-deployer-plane.xml, there is
a GBean named !EJBBuilder.  Change the listener attribute to contain the following:
+ {{{
+ <attribute name="listener">geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebContainer</attribute>
+ }}}
+ Notice it used to contain a reference to the JettyWebContainer, and we changed it to the
TomcatWebContainer.  This should allow you to use Tomcat completely exclusively of Jetty.
 However, keep in mind, the Tomcat integration needs a little work in the webservices area
before 100% compatibility.  This is currently beng worked on. 

View raw message