For configuring new listeners (HTTP, HTTPS and AJP) to the Web container in use (either Jetty or Tomcat) the Network Listener portlet is available by selecting Web Server on the Console Navigation menu on the left hand side. From this portlet you can add new listeners and change the status (stop, start, delete) of the existing connectors.

Note that this version of Apache Geronimo lets you specify what implementation (BIO or NIO for Jetty and BIO, NIO and APR for Tomcat) you want to use for a given connector type. To enable Tomcat APR connectors creation, you need to install APR native library firstly. The specific parameters for configuring the connectors won't change based on the implementation you choose so, for simplicity, we will just show the generic HTTP, HTTPS and AJP configuration details.

The configuration options for each of the connectors listed below will be slightly different between Jetty and Tomcat Web containers. Tomcat for instance will have far more optional attributes to set compared to Jetty, however the required attributes will be the same for both containers. You may also edit configuration files manually to add/update web listener.

  • For Tomcat webContainer, edit server.xml file under the <Geronimo_Home>/var/catalina directory
  • For Jetty webContainer, edit config.xml file under the <Geronimo_home>/var/config directory
  • No labels