yes i had. <br><br><div class="gmail_quote">On Thu, Feb 4, 2010 at 3:20 PM, Weibin Yao <span dir="ltr">&lt;<a href="mailto:nbubingo@gmail.com">nbubingo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Li at 2010-2-4 15:13 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey guys,<br>
<br>
I am using unofficial module named &quot;jvm_route_module&quot; (<a href="http://code.google.com/p/nginx-upstream-jvm-route/" target="_blank">http://code.google.com/p/nginx-upstream-jvm-route/</a>) to make my nginx support  sticky session for tomcat through ajp. The compilation and build seems fine without posting any error. But after I configure the upstream with jvm_route support. It produced wired error: [emerg]: invalid parameter &quot;srun_id&quot; in /usr/local/nginx/conf/nginx.conf:180<br>

<br>
</blockquote></div>
Have you patched  the  nginx?<br>
<br>
patch -p0 &lt; /path/to/this/directory/jvm_route.patch<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Here is the upstream configuration<br>
# Tomcat Cluster<br>
upstream katties {<br></div>
    server <a href="http://10.201.3.63:8080" target="_blank">10.201.3.63:8080</a> &lt;<a href="http://10.201.3.63:8080" target="_blank">http://10.201.3.63:8080</a>&gt; srun_id=jvmRoute1;<br>
    server <a href="http://10.201.3.66:8080" target="_blank">10.201.3.66:8080</a> &lt;<a href="http://10.201.3.66:8080" target="_blank">http://10.201.3.66:8080</a>&gt; srun_id=jvmRoute2;<div class="im"><br>
    jvm_route $cookie_JSESSIONID|sessionid reverse;<br>
}<br>
<br>
I am not sure if this is a proper place to ask this question, but I really cant find any solution so far. Or is there any better solution to provide session sticky for tomcat cluster behind nginx?<br>
<br>
Many thanks<br>
<br>
</div></blockquote><font color="#888888">
<br>
-- <br>
Weibin Yao<br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Small win by playing smart<br>Big win by playing honest<br>