Hi,
While testing the servlet external app with loadbalancer, I found it was not possible to route the request according to the jvmroute. Is it right ?
Just in case : the jvmroute is an extension added to the JSESSIONID cookie (or URL param) by the servlet server. This let load balancers route the request to the right server (as long as it's up !) for the same session. It avoids having to share sessions between servlet servers. Exemple : "JSESSIONID=B727410E6978F7B953321D985B4357F6.tomcat01". The JSESSIONID cookie contains an additionnal ID that identifies the server to route the request to. The load balancer config should now include one setting such as "route all jvmroute tomcat01 to server serv01".
This is critical feature.
Thanks.
While testing the servlet external app with loadbalancer, I found it was not possible to route the request according to the jvmroute. Is it right ?
Just in case : the jvmroute is an extension added to the JSESSIONID cookie (or URL param) by the servlet server. This let load balancers route the request to the right server (as long as it's up !) for the same session. It avoids having to share sessions between servlet servers. Exemple : "JSESSIONID=B727410E6978F7B953321D985B4357F6.tomcat01". The JSESSIONID cookie contains an additionnal ID that identifies the server to route the request to. The load balancer config should now include one setting such as "route all jvmroute tomcat01 to server serv01".
This is critical feature.
Thanks.