<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Goodbye mod_jk hello mod_proxy</title>
	<atom:link href="http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/</link>
	<description>Solvitas perambulum</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:12:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: xyz</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-813</link>
		<dc:creator>xyz</dc:creator>
		<pubDate>Tue, 31 Aug 2010 05:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-813</guid>
		<description>&lt;p&gt;hi,&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;  Can you provide detailed steps for setting up a load balancer for a jboss cluster using mod_proxy_ajp module of apache HTTP Server
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>hi,</p>

<pre><code>  Can you provide detailed steps for setting up a load balancer for a jboss cluster using mod_proxy_ajp module of apache HTTP Server
</code></pre>]]></content:encoded>
	</item>
	<item>
		<title>By: c'est ca</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-812</link>
		<dc:creator>c'est ca</dc:creator>
		<pubDate>Wed, 28 Apr 2010 11:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-812</guid>
		<description>&lt;p&gt;et voila Not Eh voila&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>et voila Not Eh voila</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Typrowicz</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-811</link>
		<dc:creator>Jim Typrowicz</dc:creator>
		<pubDate>Fri, 13 Jun 2008 19:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-811</guid>
		<description>&lt;p&gt;Great write up, works as advertised, I like that :-)  Thank you!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great write up, works as advertised, I like that :-)  Thank you!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: hououji</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-810</link>
		<dc:creator>hououji</dc:creator>
		<pubDate>Wed, 28 May 2008 08:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-810</guid>
		<description>&lt;p&gt;Thx for your great job. It work !&lt;/p&gt;

&lt;p&gt;There are something to supp. for my case,&lt;/p&gt;

&lt;p&gt;My webapps contain some browser redirect (HTTP return code302), and I find that the 302 sometime fail to &quot;stick&quot; to the same machine. To soft this, append &quot;nofailover=On&quot; to the ProxyPass command, and add also the ProxyPassRequest, it work find for the 302 redirect.&lt;/p&gt;

&lt;p&gt;here is my example,&lt;/p&gt;

&lt;p&gt;ProxyPass /gateway2/ balancer://ajpCluster/gateway2/ stickysession=JSESSIONID nofailover=On
ProxyPassReverse /gateway2/ balancer://ajpCluster/gateway2/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thx for your great job. It work !</p>

<p>There are something to supp. for my case,</p>

<p>My webapps contain some browser redirect (HTTP return code302), and I find that the 302 sometime fail to &#8220;stick&#8221; to the same machine. To soft this, append &#8220;nofailover=On&#8221; to the ProxyPass command, and add also the ProxyPassRequest, it work find for the 302 redirect.</p>

<p>here is my example,</p>

<p>ProxyPass /gateway2/ balancer://ajpCluster/gateway2/ stickysession=JSESSIONID nofailover=On
ProxyPassReverse /gateway2/ balancer://ajpCluster/gateway2/</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Malinowski</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-809</link>
		<dc:creator>Paul Malinowski</dc:creator>
		<pubDate>Tue, 31 Jul 2007 16:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-809</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;How can I implement mod_proxy_ajp with regular expresion, without using rewite rules?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>How can I implement mod_proxy_ajp with regular expresion, without using rewite rules?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-808</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 25 Jun 2007 14:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-808</guid>
		<description>&lt;p&gt;This sounds like a great idea..forgive my ignorance, but how do you get rid of the &quot;myApp&quot; path?&lt;/p&gt;

&lt;p&gt;My configuration is two Tomcat servers serving the web site on port 80. / is the application root.&lt;/p&gt;

&lt;p&gt;I tried this:&lt;/p&gt;

&lt;p&gt;BalancerMember ajp://10.10.81.154:80 route=LB1
   BalancerMember ajp://10.10.81.155:80 route=LB2&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ProxyPass balancer://myCluster/myApp stickysession=JSESSIONID



    SetHandler balancer-manager
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;but when I deleted &quot;myApp&quot; it did not work&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This sounds like a great idea..forgive my ignorance, but how do you get rid of the &#8220;myApp&#8221; path?</p>

<p>My configuration is two Tomcat servers serving the web site on port 80. / is the application root.</p>

<p>I tried this:</p>

<p>BalancerMember ajp://10.10.81.154:80 route=LB1
   BalancerMember ajp://10.10.81.155:80 route=LB2</p>

<pre><code>ProxyPass balancer://myCluster/myApp stickysession=JSESSIONID



    SetHandler balancer-manager
</code></pre>

<p>but when I deleted &#8220;myApp&#8221; it did not work</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Frapples</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-807</link>
		<dc:creator>Robert Frapples</dc:creator>
		<pubDate>Sat, 28 Oct 2006 19:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-807</guid>
		<description>&lt;p&gt;Does Apache&#039;s mod_proxy have anything analagous to JK&#039;s jkstatus page?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Does Apache&#8217;s mod_proxy have anything analagous to JK&#8217;s jkstatus page?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Frapples</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-806</link>
		<dc:creator>Robert Frapples</dc:creator>
		<pubDate>Sat, 28 Oct 2006 19:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-806</guid>
		<description>&lt;p&gt;Marcos,&lt;/p&gt;

&lt;p&gt;I had the same problem. My solution was to deploy on my production servers as &#039;production&#039;, thus ajp://prodserver01:8009/production/index.jsp and ajp://prodserver02:8009/production/index.jsp and the test servers as &#039;test&#039;, thus ajp://testserver01/test/index.jsp and ajp://testserver01/test/index.jsp.&lt;/p&gt;

&lt;p&gt;The only other solutions I can think of are:
1) Get Apache to rewrite the Urls in the pages that your application returns. This is probably not feasible.
2) Be very careful about creating URLs in your application. Everything should be relative to &#039;app&#039;, which means you cannot start any URLs with &#039;/&#039;.&lt;/p&gt;

&lt;p&gt;Robert Frapples&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Marcos,</p>

<p>I had the same problem. My solution was to deploy on my production servers as &#8216;production&#8217;, thus ajp://prodserver01:8009/production/index.jsp and ajp://prodserver02:8009/production/index.jsp and the test servers as &#8216;test&#8217;, thus ajp://testserver01/test/index.jsp and ajp://testserver01/test/index.jsp.</p>

<p>The only other solutions I can think of are:
1) Get Apache to rewrite the Urls in the pages that your application returns. This is probably not feasible.
2) Be very careful about creating URLs in your application. Everything should be relative to &#8216;app&#8217;, which means you cannot start any URLs with &#8216;/&#8217;.</p>

<p>Robert Frapples</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Yan Yu</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-805</link>
		<dc:creator>Yan Yu</dc:creator>
		<pubDate>Thu, 24 Aug 2006 17:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-805</guid>
		<description>&lt;p&gt;Hi Marcos,&lt;/p&gt;

&lt;p&gt;Did you have answer for your question? I am having the same issue here and very much interested in knowing the solution.&lt;/p&gt;

&lt;p&gt;Thanks
Yan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Marcos,</p>

<p>Did you have answer for your question? I am having the same issue here and very much interested in knowing the solution.</p>

<p>Thanks
Yan</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos Cisneros</title>
		<link>http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/#comment-804</link>
		<dc:creator>Marcos Cisneros</dc:creator>
		<pubDate>Fri, 09 Jun 2006 20:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.darkcoding.net/?p=66#comment-804</guid>
		<description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I saw your post about using the new mod_proxy_ajp instead of mod_jk and it works great. Now I am trying to use apache for balance two java web applications (each one in diferent clusters), the two are the same but in different phases, one for developing and one for testing.
the first is in   devserver:5000/app/home.jsp and devserver2:5001/app/home.jsp
and the otrher is in testserver:5000/app/home.jsp and testserver:5001/app/home.jsp&lt;/p&gt;

&lt;p&gt;and I want the apache server be the entry point for both, something like:
http://balanceServer/dev/app/home.jsp  and http://balanceServer/test/app/home.jsp
and depending on the &quot;dev&quot; ot &quot;test&quot; prefix redirects to each cluster.&lt;/p&gt;

&lt;p&gt;My problem is how to rewrite the url links comming from the cluster to insert them the &quot;dev&quot; or &quot;test&quot;?  because right now it is sending me to the correct cluster but when trying a submit, the browser resolves to balanceServer/app/submitionpage.jsp, do you have idea?&lt;/p&gt;

&lt;p&gt;Thank you, this is the first time I use Apache.&lt;/p&gt;

&lt;p&gt;Marcos Cisneros&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi</p>

<p>I saw your post about using the new mod_proxy_ajp instead of mod_jk and it works great. Now I am trying to use apache for balance two java web applications (each one in diferent clusters), the two are the same but in different phases, one for developing and one for testing.
the first is in   devserver:5000/app/home.jsp and devserver2:5001/app/home.jsp
and the otrher is in testserver:5000/app/home.jsp and testserver:5001/app/home.jsp</p>

<p>and I want the apache server be the entry point for both, something like:
<a href="http://balanceServer/dev/app/home.jsp" rel="nofollow">http://balanceServer/dev/app/home.jsp</a>  and <a href="http://balanceServer/test/app/home.jsp" rel="nofollow">http://balanceServer/test/app/home.jsp</a>
and depending on the &#8220;dev&#8221; ot &#8220;test&#8221; prefix redirects to each cluster.</p>

<p>My problem is how to rewrite the url links comming from the cluster to insert them the &#8220;dev&#8221; or &#8220;test&#8221;?  because right now it is sending me to the correct cluster but when trying a submit, the browser resolves to balanceServer/app/submitionpage.jsp, do you have idea?</p>

<p>Thank you, this is the first time I use Apache.</p>

<p>Marcos Cisneros</p>]]></content:encoded>
	</item>
</channel>
</rss>

