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/09/01 17:59:45 UTC

[Geronimo Wiki] Update of "Tomcat" by AnitaKulshreshtha

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 AnitaKulshreshtha:
http://wiki.apache.org/geronimo/Tomcat

------------------------------------------------------------------------------
  
  Start up Geronimo as follows (see ["Running"]):
   {{{
- java -Djava.endorsed.dirs=lib/endorsed -jar bin/server.jar 
+ java -jar bin/server.jar 
  }}}
  
  To see the welcome page :
@@ -309, +309 @@

  
  By default, Geronimo is set up with Jetty as the web deployer (!JettyModuleBuilder). When a webapp is deployed using !JettyModuleBuilder it will reference Jetty as a web container (in other, more technical, words - the plan contains a reference to !JettyContainer). A module builder chooses what container the webapp will be deployed to. To enable Apache Tomcat as a web container, it's necessary to enable !TomcatModuleBuilder (which will assign Apache Tomcat to the deployed webapps). Which requires building the server again.
  
- '''NOTE''': The java.endorsed.dirs variable must be set on the java command line, or Tomcat will not start.
+ '''NOTE''':  It is no longer necessary to set java.endorsed.dirs variable on the java command line to start Tomcat.
  
  '''NOTE''': The `CATALINA_HOME` environment variable is not used by Tomcat when running inside Geronimo. The Catalina home directory is set to ''var/catalina/'' via the GBean attribute `catalinaHome` in the ''j2ee-server-tomcat-plan.xml'' file.