-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
27.0.1.Final
-
---
-
---
Currently, the EJB/HTTP client/server hard codes Tomcat-style session affinity logic:
- It creates a cookie named "JSESSIONID" which it uses to store the SessionID of the target SFSB.
- It appends the weak affinity of a given SFSB to the SessionID of the above cookie.
However, this logic only works with httpd-based load balancers.
To work with other load balancers (e.g. HAProxy), this logic needs to be more configurable.
Most load balancers that support cookie-based affinity, rely on a specific cookie (with a configurable name) that contains the name of the backend server for which a given request is intended.
In general, the EJB/HTTP client already stores the SessionID of the SFSB within a response header, so, unless the user is using an httpd-based load balancer, a separate JSESSIONID cookie is generally redundant.
- blocks
-
WFLY-17986 Support external EJB client access to EAP deployments on OpenShift over http
- Coding In Progress
- relates to
-
WEJBHTTP-81 EJB/HTTP does not correctly delegate load balancing nor fail-over to a load balancer
- Pull Request Sent