<div>Hey guys,<br clear="all"></div><div><br></div><div>I am using unofficial module named &quot;jvm_route_module&quot; (<a href="http://code.google.com/p/nginx-upstream-jvm-route/">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: </div>
<div>[emerg]: invalid parameter &quot;srun_id&quot; in /usr/local/nginx/conf/nginx.conf:180</div><div><br></div><div>Here is the upstream configuration<br># Tomcat Cluster<br>upstream  katties {<br>       server <a href="http://10.201.3.63:8080">10.201.3.63:8080</a> srun_id=jvmRoute1;<br>
       server <a href="http://10.201.3.66:8080">10.201.3.66:8080</a> srun_id=jvmRoute2;<br>       jvm_route $cookie_JSESSIONID|sessionid reverse;<br>}<br></div><div><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>
</div><div><br></div><div>Many thanks</div><br>-- <br>Small win by playing smart<br>Big win by playing honest<br>