How to configure Jetty (in various ways)?

Setting up Apache/Jetty (to talk to one another i.e apache will forward requests to jetty)

For Jetty – Edit the file: <JETTY_HOME>\etc\jetty.xml to include the following xml fragment:

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

For Apache – set it up to forward your requests to Jetty (no different than what you would do for it to forward requests to Tomcat).

For details on how to setup Apache/Tomcat to talk to one another, see the relevant post here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: