geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Geronimo v2.2 > Adding new listeners
Date Mon, 14 Sep 2009 09:25:01 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=GMOxDOC22&amp;forWysiwyg=true"
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="">Adding
new listeners</a></h2>
     <h4>Page <b>edited</b> by             <a href="">Runhua
     Update server.xml configuration for G2.2 
          <div id="versionComment" class="noteMacro" style="display:none; padding: 5px;">
     Update server.xml configuration for G2.2 <br />
     <div class="notificationGreySide">
         <p>For configuring new listeners (HTTP, HTTPS and AJP) to the Web container
in use (either Jetty or Tomcat) the <b>Network Listener</b> portlet is available
by selecting <b>Web Server</b> on the <b>Console Navigation</b> 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.</p>

<p><img src="/confluence/download/attachments/93393/consoleNetworkListeners.png"
align="absmiddle" border="0" /></p>

<p>Note that this version of Apache Geronimo lets you specify what implementation (BIO
or <a href="" title="http for Jetty"
rel="nofollow">NIO</a> for Jetty and BIO, <a href=""
title="NIO for Tomcat" rel="nofollow">NIO</a> and <a href=""
title="APR for Tomcat" rel="nofollow">APR</a> for Tomcat) you want to use for a given
connector type. To enable Tomcat APR connectors creation, you need to install <a href=""
title="APR" rel="nofollow">APR</a> 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. </p>

<p>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
<em>optional</em> attributes to set compared to Jetty, however the <b>required</b>
attributes will be the same for both containers. You may also edit configuration files manually
to add/update web listener.</p>
	<li>For Tomcat webContainer, edit <tt>server.xml</tt> file under the <tt>&lt;Geronimo_Home&gt;/var/config/catalina</tt>
	<li>For Jetty webContainer, edit <tt>config.xml</tt> file under the <tt>&lt;Geronimo_home&gt;/var/config</tt>

<ul><li><a href="/confluence/display/GMOxDOC22/Add+new+AJP+listener" title="Add
new AJP listener">Add new AJP listener</a></li><li><a href="/confluence/display/GMOxDOC22/Add+new+HTTP+Listener"
title="Add new HTTP Listener">Add new HTTP Listener</a></li><li><a
href="/confluence/display/GMOxDOC22/Add+new+HTTPS+listener" title="Add new HTTPS listener">Add
new HTTPS listener</a></li></ul>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>

       <a href="">View
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message