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 > Configuring the Web Container
Date Wed, 26 Jan 2011 07:47: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/Configuring+the+Web+Container">Configuring
the Web Container</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~maojia508">maojia</a>
    </h4>
        <br/>
                         <h4>Changes (2)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-unchanged" >{scrollbar} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >{excerpt}The Web container in
a Geronimo server is an integrated <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Tomcat/Jetty</span>
<span class="diff-added-words"style="background-color: #dfd;">Tomcat or Jetty</span>
server. You can configure the embedded web container by using different GBeans. This can be
done either from <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Console</span>
<span class="diff-added-words"style="background-color: #dfd;">the administration console</span>
or <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">via</span>
<span class="diff-added-words"style="background-color: #dfd;">by</span> editing
configuration files.{excerpt} <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >Starting from v2.2, Geronimo leverages
{{server.xml}} from Tomcat for ease usability. Configurations to Web listeners, <span class="diff-changed-words">Clustering<span
class="diff-added-chars"style="background-color: #dfd;">,</span></span> and
Tomcat <span class="diff-changed-words">Engine<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">e</span></span>
can be achieved through the same process as for a standalone Tomcat Web container. <span
class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">While,</span>
<span class="diff-added-words"style="background-color: #dfd;">However,</span>
for configurations such as Valves, virtual hosts, JNDI and so on, you will use the GBean approach
just like in Geronimo v2.1. <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/GMOxDOC30/Configuring+the+JMS+server"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/GMOxDOC30/Configuring+the+JMS+server">Configuring
the JMS server</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/GMOxDOC30/Configuring+and+administering+the+Apache+Geronimo+Server"><img
border='0' align='middle' src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/GMOxDOC30/Configuring+and+administering+the+Apache+Geronimo+Server">Configuring
and administering the Apache Geronimo Server</a></td><td width='33%' class='ScrollbarNextName'>&nbsp;<a
href="/confluence/display/GMOxDOC30/Customizing+server+assemblies">Customizing server assemblies</a></td><td
class='ScrollbarNextIcon'><a href="/confluence/display/GMOxDOC30/Customizing+server+assemblies"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<p>The Web container in a Geronimo server is an integrated Tomcat or Jetty server. You
can configure the embedded web container by using different GBeans. This can be done either
from the administration console or by editing configuration files.</p>

<p>Starting from v2.2, Geronimo leverages <tt>server.xml</tt> from Tomcat
for ease usability. Configurations to Web listeners, Clustering, and Tomcat Engine can be
achieved through the same process as for a standalone Tomcat Web container. However, for configurations
such as Valves, virtual hosts, JNDI and so on, you will use the GBean approach just like in
Geronimo v2.1.</p>


<ul><li><a href="/confluence/display/GMOxDOC30/Adding+new+listeners" title="Adding
new listeners">Adding new listeners</a> &mdash; <span class="smalltext">From
this portlet you can add new listeners and change the status (stop, start, delete) of the
existing connectors.</span></li><li><a href="/confluence/display/GMOxDOC30/Configuring+session+manager+of+Tomcat"
title="Configuring session manager of Tomcat">Configuring session manager of Tomcat</a>
&mdash; <span class="smalltext">you can swap inactive sessions to a file or just
forget them. You can keep a certain number of sessions in main memory configurable via System
configuration as followed.</span></li><li><a href="/confluence/display/GMOxDOC30/Configuring+virtual+host"
title="Configuring virtual host">Configuring virtual host</a> &mdash; <span
class="smalltext">Geronimo provides different distribution with Web Contaniner such as
Tomcat and Jetty, you may look into the following pages to learn how to configure virtual
host together with Geronimo.</span></li><li><a href="/confluence/display/GMOxDOC30/Managing+Valve"
title="Managing Valve">Managing Valve</a> &mdash; <span class="smalltext">In
Tomcat, a <em>valve</em> is a Java class that can be inserted into the request
processing pipeline.  A valve executes as part of Tomcat's servlet container and is independent
of the Web application.</span></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/Configuring+the+Web+Container">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=20645315&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Configuring+the+Web+Container?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message