On 12/06/2023 21:00, Manak Bisht wrote:
On Tue, Jun 13, 2023 at 1:26 AM Mark Thomas <ma...@apache.org> wrote:
Try https://people.apache.org/~markt/dev/cluster-test.war instead.
Mark
Sure, I will give that a try. But is there some issue with the
*carts.jsp *example?
Or is it not meant for this purpose?
The carts.jsp example wasn't written with clustering in mind. Therefore
it needs an additional line to ensure that the updated shopping cart is
replicated.
What that change is is left as an exercise for the reader.
Hint: Look at carts.jsp and then look at how DeltaRequest
https://github.com/apache/tomcat/blob/main/java/org/apache/catalina/ha/session/DeltaRequest.java
tracks changes to the session for replication.
(The link is for the Tomcat 11 code but iyt is essentially the same in
all current Tomcat versions.)
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org