JSF Session Fail over and Partial State Saving

前端 未结 2 389
天涯浪人
天涯浪人 2020-12-23 23:15

Running on JSF 2.0.9, Weblogic 10.3.4. We\'re now running JSF in our production environment but have encountered some issues with Session Replication and fail over. We are

2条回答
  •  再見小時候
    2020-12-23 23:46

    The session replication should be handled by the load balancer as the JSF application is only aware of the context on the node that it is deployed to. As such, it shouldn't matter if you set the STATE_SAVING_METHOD to client or server.

    It sounds to me like you have an incorrect load balancer configuration. If you're using Apache HTTP Server as your proxy please see the following link for more information on session stickyness:

    http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

    I would recommend setting ProxySet stickysession=ROUTEID and see if that resolves the issue.

提交回复
热议问题