users@glassfish.java.net

Re: how to setup loadbalancing on glassfish?

From: <glassfish_at_javadesktop.org>
Date: Fri, 25 Apr 2008 06:27:04 PDT

I disagree. If application is not deployed correctly that server is definitely not healhy. If you mark it healthy, users will see some page not found error (If checker accepts codes 100-500, then it would also accept 404 - page not found.)- which is even worse than if you don't have session replication (in that case they will think they were just logged out, and not that a server went down). Users should never encouter HTTP code 500 or 404 if URL was correct. I do not think such a check this load balancer is performing is OK. The acceptable HTTP response code should be configurable. Unfortunately the link you posted doesn't mention how to change acceptable HTTP response code.
[Message sent by forum member 'jarol1' (jarol1)]

http://forums.java.net/jive/thread.jspa?messageID=271210