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.