geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo v3.0 > Adding new listeners
Date Wed, 26 Jan 2011 08:16:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2036/9/4/_/styles/combined.css?spaceKey=GMOxDOC30&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Adding+new+listeners">Adding
new listeners</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~maojia508">maojia</a>
    </h4>
        <br/>
                         <h4>Changes (6)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-changed-lines" >For configuring new listeners
(HTTP, HTTPS and AJP) to the Web container in use (either Jetty or <span class="diff-changed-words">Tomcat)<span
class="diff-added-chars"style="background-color: #dfd;">,</span></span> the
*Network Listener* portlet is available by selecting *Web Server* on the *Console Navigation*
menu on the left <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">hand</span>
side.{excerpt} From this <span class="diff-changed-words">portlet<span class="diff-added-chars"style="background-color:
#dfd;">,</span></span> you can add new listeners and change the status (stop,
start, delete) of the existing <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">connectors.{excerpt}</span>
<span class="diff-added-words"style="background-color: #dfd;">ones.{excerpt}</span>
<br></td></tr>
            <tr><td class="diff-unchanged" > <br>!consoleNetworkListeners.png!
<br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Note that <span class="diff-added-words"style="background-color:
#dfd;">in</span> this version of Apache <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Geronimo
lets</span> <span class="diff-added-words"style="background-color: #dfd;">Geronimo,</span>
you <span class="diff-added-words"style="background-color: #dfd;">can</span> specify
what implementation (BIO or [NIO|http://docs.codehaus.org/display/JETTY/Architecture|http
for Jetty] for Jetty and BIO, [NIO|http://tomcat.apache.org/tomcat-6.0-doc/config/http.html|NIO
for Tomcat] and [APR|http://tomcat.apache.org/tomcat-6.0-doc/apr.html|APR for Tomcat] for
Tomcat) you want to use for a given connector type. To enable Tomcat APR <span class="diff-changed-words">connector<span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">s</span></span>
creation, you need to install [APR|http://tomcat.apache.org/tomcat-6.0-doc/apr.html|APR] native
library <span class="diff-changed-words">first<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">ly</span>.</span>
The specific parameters for configuring the connectors <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">won&#39;t</span>
<span class="diff-added-words"style="background-color: #dfd;">will not</span>
change based on the implementation you <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">choose
so,</span> <span class="diff-added-words"style="background-color: #dfd;">choose.
Therefore,</span> for simplicity, we will just show the generic HTTP, HTTPS and AJP
configuration details. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>{children:all=true|excerpt=true}
 <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">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. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">The
configuration options for each of the connectors in the following list 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 can also edit configuration files manually to add or update web listeners.
<br></td></tr>
            <tr><td class="diff-changed-lines" >* For Tomcat webContainer, edit
<span class="diff-added-words"style="background-color: #dfd;">the</span> {{server.xml}}
file under the {{&lt;Geronimo_Home&gt;/var/catalina}} <span class="diff-changed-words">directory<span
class="diff-added-chars"style="background-color: #dfd;">.</span></span> <br></td></tr>
            <tr><td class="diff-changed-lines" >* For Jetty webContainer, edit
<span class="diff-added-words"style="background-color: #dfd;">the</span> {{config.xml}}
file under the {{&lt;Geronimo_home&gt;/var/config}} <span class="diff-changed-words">directory<span
class="diff-added-chars"style="background-color: #dfd;">.</span></span> <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <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 side. From this portlet, you can add new listeners and change the status (stop,
start, delete) of the existing ones.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645314/consoleNetworkListeners.png?version=1&amp;modificationDate=1252910289000"
style="border: 0px solid black" /></span></p>

<p>Note that in this version of Apache Geronimo, you can specify what implementation
(BIO or <a href="http://docs.codehaus.org/display/JETTY/Architecture" title="http for Jetty"
class="external-link" 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" class="external-link" rel="nofollow">NIO</a> and <a href="http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
title="APR for Tomcat" class="external-link" rel="nofollow">APR</a> for Tomcat) you
want to use for a given connector type. To enable Tomcat APR connector creation, you need
to install <a href="http://tomcat.apache.org/tomcat-6.0-doc/apr.html" title="APR" class="external-link"
rel="nofollow">APR</a> native library first. The specific parameters for configuring
the connectors will not change based on the implementation you choose. Therefore, for simplicity,
we will just show the generic HTTP, HTTPS and AJP configuration details.</p>

<ul><li><a href="/confluence/display/GMOxDOC30/Add+new+AJP+listener" title="Add
new AJP listener">Add new AJP listener</a></li><li><a href="/confluence/display/GMOxDOC30/Add+new+HTTP+Listener"
title="Add new HTTP Listener">Add new HTTP Listener</a></li><li><a
href="/confluence/display/GMOxDOC30/Add+new+HTTPS+listener" title="Add new HTTPS listener">Add
new HTTPS listener</a></li></ul> 

<p>The configuration options for each of the connectors in the following list 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 can also edit configuration files manually
to add or update web listeners.</p>
<ul>
	<li>For Tomcat webContainer, edit the <tt>server.xml</tt> file under the
<tt>&lt;Geronimo_Home&gt;/var/catalina</tt> directory.</li>
	<li>For Jetty webContainer, edit the <tt>config.xml</tt> file under the
<tt>&lt;Geronimo_home&gt;/var/config</tt> directory.</li>
</ul>


    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Adding+new+listeners">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=20645314&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Adding+new+listeners?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message