<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Joe Walker - ajp tag</title>
  <link>http://directwebremoting.org/blog/joe/tags/ajp/</link>
  <description>Thoughts on Web Development</description>
  <language>en</language>
  <copyright>Joe Walker</copyright>
  <lastBuildDate>Wed, 23 Jul 2008 11:00:41 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>mod_jk is dead. Long live mod_proxy_ajp</title>
    <link>http://directwebremoting.org/blog/joe/2006/02/01/mod_jk_is_dead_long_live_mod_proxy_ajp.html</link>
    
      
        <description>
          &lt;p&gt;It appears that there is *yet another* change coming to the recommended way to connect &lt;a href=&#034;http://tomcat.apache.org/&#034;&gt;Tomcat&lt;/a&gt; to &lt;a href=&#034;http://httpd.apache.org/&#034;&gt;Apache&lt;/a&gt;. I&#039;ve tried &lt;a href=&#034;http://httpd.apache.org/docs/2.0/mod/mod_proxy.html&#034;&gt;mod_proxy&lt;/a&gt;, &lt;a href=&#034;http://tomcat.apache.org/tomcat-4.1-doc/config/webapp.html&#034;&gt;mod_webapp&lt;/a&gt;, &lt;a href=&#034;http://tomcat.apache.org/connectors-doc/&#034;&gt;mod_jk&lt;/a&gt; and &lt;a href=&#034;http://tomcat.apache.org/connectors-doc-archive/jk2/jk2/confighowto.html&#034;&gt;mod_jk2&lt;/a&gt; - well it appears that the new direction is &lt;a href=&#034;http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html&#034;&gt;mod_proxy_ajp&lt;/a&gt;.&lt;/p&gt;

&lt;img src=&#034;http://getahead.ltd.uk/sitefiles/getahead/tomcat.gif&#034; style=&#034;padding:5px 20px;&#034; align=&#034;right&#034;/&gt;

&lt;p&gt;mod_proxy allows Apache to proxy requests to other systems. Before Apache 2.2 it would only work with FTP and HTTP, but now it handles &lt;a href=&#034;http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html&#034;&gt;AJP&lt;/a&gt; too.&lt;/p&gt;

&lt;p&gt;So before Apache 2.2 you could rule out mod_webapp (easy to configure, but obsolete) and mod_jk2 (&lt;a href=&#034;http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1&#034;&gt;unsupported and fallen behind mod_jk v1!&lt;/a&gt;) and your choice was mod_proxy (easy to get working but easy to create a security hole) or mod_jk (harder to configure but generally better).&lt;/p&gt;

&lt;p&gt;If you can avoid the security hazards, it looks like mod_proxy_ajp may soon be a better option from Apache 2.2 and on. Either that or it’s just going to be another way to confuse everyone.&lt;/p&gt;

&lt;p&gt;The next change I expect is that someone equipped with GCJ is going to come up with mod_tomcat - just compile the whole thing as an Apache module and forget all this connector nonsense!&lt;/p&gt;

&lt;p&gt;Does anyone have experience of how &lt;a href=&#034;http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html&#034;&gt;mod_proxy_ajp&lt;/a&gt; performs?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: For more information on picking a connector you might want to consider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&#034;http://tomcat.apache.org/faq/connectors.html&#034;&gt;The Tomcat FAQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://confluence.atlassian.com/display/DOC/Running+Confluence+behind+Apache&#034;&gt;Confluence notes on the same&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2006/02/01/mod_jk_is_dead_long_live_mod_proxy_ajp.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2006/02/01/mod_jk_is_dead_long_live_mod_proxy_ajp.html</guid>
    <pubDate>Wed, 01 Feb 2006 08:18:35 GMT</pubDate>
  </item>
  
  </channel>
</rss>
