title: Amazon Load Balancer sticky sessions configuration for jsessionid in URL
body: <p>I currently trying to setup Amazon Load Balancer for Tomcat workers, but I faced one problem. </p>
  
  <p>I'm using sticky sessions and cookie <code>JSESSIONID</code> is available for most of the requests. But some requests have session information in URL, like this:</p>
  
  <p><a href="http://myserver.com/contextPath/someAction;jsessionid=BA6853C23F795BD5EEDAEA996E601BB8" rel="nofollow">http://myserver.com/contextPath/someAction;jsessionid=BA6853C23F795BD5EEDAEA996E601BB8</a></p>
  
  <p>And it does not work (and request is forwarded to the wrong worker).</p>
  
  <p><strong>Does AWS Load Balancer support <code>jsessionid</code> in the URL? If no, than maybe you know some workarounds?</strong></p>
  
  <p>With Apache + mod_proxy_balancer I can, for example, define it like this:</p>
  
  <pre><code>ProxyPassMatch /.* balancer://mycluster stickysession=JSESSIONID|jsessionid 
  </code></pre>