Questions ‘n’ Answers – Technology

Just another WordPress.com weblog

How to configure Jetty (in various ways)?

Posted by qnaguru on November 18, 2008

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.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>