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 a remote Apache HTTP server
Date Wed, 26 Jan 2011 05:33: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+a+remote+Apache+HTTP+server">Configuring
a remote Apache HTTP server</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-unchanged" >{scrollbar} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >At the time of writing this <span
class="diff-changed-words">article<span class="diff-added-chars"style="background-color:
#dfd;">,</span></span> the *Apache mod_jk Configuration* portlet provided in
the Geronimo Administration Console presented some unconsistencies recognizing the already
installed web applications. As a <span class="diff-changed-words">workaround<span
class="diff-added-chars"style="background-color: #dfd;">,</span></span> this
article <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">will
cover</span> <span class="diff-added-words"style="background-color: #dfd;">covers</span>
two alternative ways to configure a remote Apache HTTP server. <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Apache Geronimo comes in two flavors
depending on the Web container you decide to use. You <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">may</span>
<span class="diff-added-words"style="background-color: #dfd;">can</span> choose
between the Tomcat or Jetty distributions. {excerpt}If you want to place a <span class="diff-changed-words"><span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">a</span><span
class="diff-added-chars"style="background-color: #dfd;">A</span>pache</span>
HTTP server (HTTPd) in front of <span class="diff-changed-words">Geronimo<span class="diff-added-chars"style="background-color:
#dfd;">,</span></span> you will have to configure it in such <span class="diff-added-words"style="background-color:
#dfd;">a</span> way <span class="diff-added-words"style="background-color: #dfd;">that</span>
it can forward client requests to Geronimo.{excerpt} <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >As we already mentioned, this
article <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">will
cover</span> <span class="diff-added-words"style="background-color: #dfd;">covers</span>
two different ways on how Apache HTTPd can be configured to forward client requests to Geronimo,
<span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">this</span>
<span class="diff-added-words"style="background-color: #dfd;">which</span> is
configuring it as a reverse proxy <span class="diff-added-words"style="background-color:
#dfd;">by</span> using the &quot;built-in&quot; *mod_proxy* module or configuring
the Jakarta Tomcat Connector *mod_jk* available with the Apache Tomcat source. <br></td></tr>
            <tr><td class="diff-changed-lines" >* When configuring a reverse proxy
in the Apache HTTPd, <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">that</span>
<span class="diff-added-words"style="background-color: #dfd;">the</span> configuration
will work for any distribution of Geronimo (Tomcat or Jetty) <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">you
may have</span> without the need for any additional configuration on the Geronimo side.
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">*
When configuring the Jakarta Tomcat Connector, additional configuiration will be required.
There will be a number of new terms that will be addressed as needed but keep in mind the
scope of this article is to configure a two-tier scenario with a remote HTTPd.  <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
When configuring the Jakarta Tomcat Connector, additional configuration will be required.
A number of new terms will be addressed as needed, but keep in mind that the scope of this
article is to configure a two-tier scenario with a remote HTTPd.  <br></td></tr>
            <tr><td class="diff-unchanged" > <br>Based on these two alternatives,
this article is organized in the following sections: <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/Clustering+and+farming"><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/Clustering+and+farming">Clustering
and farming</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/Configuring+EJB+Containers">Configuring EJB Containers</a></td><td
class='ScrollbarNextIcon'><a href="/confluence/display/GMOxDOC30/Configuring+EJB+Containers"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<p>At the time of writing this article, the <b>Apache mod_jk Configuration</b>
portlet provided in the Geronimo Administration Console presented some unconsistencies recognizing
the already installed web applications. As a workaround, this article covers two alternative
ways to configure a remote Apache HTTP server.</p>


<p>Apache Geronimo comes in two flavors depending on the Web container you decide to
use. You can choose between the Tomcat or Jetty distributions. If you want to place a Apache
HTTP server (HTTPd) in front of Geronimo, you will have to configure it in such a way that
it can forward client requests to Geronimo.</p>

<p>As we already mentioned, this article covers two different ways on how Apache HTTPd
can be configured to forward client requests to Geronimo, which is configuring it as a reverse
proxy by using the "built-in" <b>mod_proxy</b> module or configuring the Jakarta
Tomcat Connector <b>mod_jk</b> available with the Apache Tomcat source.</p>
<ul>
	<li>When configuring a reverse proxy in the Apache HTTPd, the configuration will work
for any distribution of Geronimo (Tomcat or Jetty) without the need for any additional configuration
on the Geronimo side.</li>
	<li>When configuring the Jakarta Tomcat Connector, additional configuration will be
required. A number of new terms will be addressed as needed, but keep in mind that the scope
of this article is to configure a two-tier scenario with a remote HTTPd.</li>
</ul>


<p>Based on these two alternatives, this article is organized in the following sections:</p>

<ul><li><a href="/confluence/display/GMOxDOC30/Configure+Apache+HTTPd+as+a+reverse+proxy+%28mod_proxy%29"
title="Configure Apache HTTPd as a reverse proxy (mod_proxy)">Configure Apache HTTPd as
a reverse proxy (mod_proxy)</a></li><li><a href="/confluence/display/GMOxDOC30/Configure+Apache+HTTPd+with+Jakarta+Tomcat+Connector+%28mod_jk%29"
title="Configure Apache HTTPd with Jakarta Tomcat Connector (mod_jk)">Configure Apache
HTTPd with Jakarta Tomcat Connector (mod_jk)</a></li></ul>

<p>In order to set a common ground for this configuration example, here is a list with
the versions tested:</p>

<ul>
	<li>Apache Geronimo v1.2</li>
	<li>Apache HTTPd v2.2.3</li>
	<li>mod_jk-apache-2.2.3.so</li>
	<li>Windows XP SP2</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+a+remote+Apache+HTTP+server">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=20645306&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Configuring+a+remote+Apache+HTTP+server?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message