Google Groups Home
Help | Sign in
Configuring Jetty+OpenBD with a Apache 2.2 Front-End Using AJP13
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ahmadie  
View profile  
 More options Dec 26 2008, 1:11 pm
From: ahmadie <ahmadieth...@gmail.com>
Date: Fri, 26 Dec 2008 10:11:22 -0800 (PST)
Local: Fri, Dec 26 2008 1:11 pm
Subject: Configuring Jetty+OpenBD with a Apache 2.2 Front-End Using AJP13
As we know, Jetty supports the use of a front-end HTTP server such as
Apache as a front-end server. Here's a short walkthrough for
configuring a Jetty (Ready2Run Jetty+OpenBD) with a Apache 2.2 front-
end using AJP13. For more information see the original guide on Jetty
website.

1.  Open your jetty.xml. Edit it. Replace the following:

    <Call name="addConnector">
      <Arg>
                <New class="org.mortbay.jetty.nio.SelectChannelConnector">
                        <Set name="host"><SystemProperty name="jetty.host" /></Set>
                        <Set name="port"><SystemProperty name="jetty.port" default="8080"/

></Set>

                        <Set name="maxIdleTime">30000</Set>
                        <Set name="Acceptors">2</Set>
                        <Set name="statsOn">false</Set>
                        <Set name="confidentialPort">8443</Set>
                        <Set name="lowResourcesConnections">5000</Set>
                        <Set name="lowResourcesMaxIdleTime">5000</Set>
                </New>
      </Arg>
    </Call>

    With the following:

   <Call name="addConnector">
      <Arg>
        <New class="org.mortbay.jetty.ajp.Ajp13SocketConnector">
          <Set name="host">127.0.0.1</Set>
          <Set name="port">8009</Set>
        </New>
      </Arg>
  </Call>

2. Open your http.conf, and add this:

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so (on Windows)
ProxyPass / ajp://127.0.0.1:8009/
ProxyPreserveHost On

3. Run your  Jetty+OpenBD, and restart your Apache server. Now, you
can run and browse your web apps from Apache port (80) as front end,
not Jetty port (8080).


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google