This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to set up load balancing for an application that utilizes tomcat 5.5 (two tomcat sessions on one server). I was able to get the LB working, confirmed by the "STATUS" page. I also created a "HELLO FROM TOMCATx" on each server and saw it switch back and forth from 1 and 2 upon hitting each browser refresh.
I am having problems with the application, and I think the problem is related to the session not sticking to the same tomcat server that did the authentication. I configured the environment with sticky session enabled, but it doesn't seem to work. I would expect that if it was working, refreshing the browser would always show the same response "HELLO FROM TOMCAT1" or "HELLO FROM TOMCAT2". It that correct?