geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo v2.2 > Adding new listeners
Date Mon, 14 Sep 2009 09:25:01 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=GMOxDOC22&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/GMOxDOC22/Adding+new+listeners">Adding
new listeners</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~chirunhua@gmail.com">Runhua
Chi</a>
    </h4>
     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>
          <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="http://docs.codehaus.org/display/JETTY/Architecture" title="http for Jetty"
rel="nofollow">NIO</a> for Jetty and BIO, <a href="http://tomcat.apache.org/tomcat-6.0-doc/config/http.html"
title="NIO for Tomcat" rel="nofollow">NIO</a> and <a href="http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
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="http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
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>
<ul>
	<li>For Tomcat webContainer, edit <tt>server.xml</tt> file under the <tt>&lt;Geronimo_Home&gt;/var/config/catalina</tt>
directory</li>
	<li>For Jetty webContainer, edit <tt>config.xml</tt> file under the <tt>&lt;Geronimo_home&gt;/var/config</tt>
directory</li>
</ul>


<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>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/GMOxDOC22/Adding+new+listeners">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=93393&revisedVersion=8&originalVersion=7">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/GMOxDOC22/Adding+new+listeners?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message