Hi,
I will quote messages from other thread to provide clear understanding
I wrote :
"clusterjsp sample creates a session and when session is created all
subsequent requests are serviced by same back-end instance. There is
option to invalidate session in clusterjsp sample. Please use that to
see load-distribution."
Pankaj inputs:
"HTTP Load Balancer provides sticky load balancing. Thus from a client
session, first initial request followed by subsequent requests would get
serviced from the same instance which serviced the first request. Also
note clusterjsp application renders information on server and port which
serviced the request.
You should open a newer client session, say using another web brower :
IE and Firefox when dispatching requests from same m/c or close and
start the browser again (in case you do not have more than one browser
application). You can even test the distribution by dispatching the
request from another m/c. "
Thanks,
Kshitiz
glassfish_at_javadesktop.org wrote:
> Hi Saxena,
> Thanks a lot Saxena, but when i am browsing http://localhost:8080/clusterjsp always it is pointing to one machine only, even though i declared 2 instnce in a cluster and menstioned in loadbalancer.xml.
>
> why this is happnening.
>
> where i have to change these properties.
>
> Actually other machine having 2 instance one is own machine and another instance is in my machine.
> but apache load balancer is configured in my machine with other machine cluster configuration, but always my machie is responding why this is happening .
>
> Thanks and Regards,
> Balaji Varaprasad.G
> [Message sent by forum member 'balaji_varaprasad' (balaji_varaprasad)]
>
> http://forums.java.net/jive/thread.jspa?messageID=327593
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>