users@glassfish.java.net

Re: If a instance is stopped, how to continue the session in the other?

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Fri, 25 Apr 2008 11:36:18 -0700

This is a testing email to test forum to mailing list and vice versa
sync as emails are not showing up in forum.
I will reply next.

glassfish_at_javadesktop.org wrote:
> thanks for the reply,
> I wrote:
>
> " http://<node1HostName>:<node1Port>/clusterjsp/ "
> but it should be
> " http://<node1HostName>:8080/clusterjsp/ "
>
> So the configuration that I have in one machine is:
> domains -> domain1
> nodeagents->node1
> ->instance1
>
> in the other machine:
> nodeagents->node2
> ->instance2
>
> When I access "http://<node1HostName>:4848/" I'm able to see the configuration from the GUI.
>
> The tests I did were:
> 1- Connect from a 3rd machine to " http://<node1HostName>:8080/clusterjsp/ ";
> - By the way, why is it needed the port 8080?
> 1- go to the "http://<node1HostName>:4848/" and stop the instance1 or the node1,
> I realized that the session is kept, so it is connecting to the machine 2.
>
> To have high availability the system must survive when I destruct the node1 (in the real sense :) ),
> the one reffered in the link:
> 2- So I simulate it by just shutdown the machine, or making asadmin stop-domain;
> 3- The connection is then lost..
>
> So I'm guessing that if the domain is not running on the node1 the session is lost.
> Is it the url that is going to the node1?
>
> Or the client should be redirected to the node2 address automatically?
> I guess that this is where the system is told to be higly available.
>
> -Should I create a domain (I dont't have it created) in the second machine?
> -But if the DAS is independent as you told, it should go to the other machine
> automatically, but the link would remain the same (" http://<node1HostName>:8080/clusterjsp/ ")?
> -or the effect is a change in the link to (" http://<node2HostName>:8080/clusterjsp/ ")?
>
> Thanks shreedhar for the reply
> [Message sent by forum member 'junkeira' (junkeira)]
>
> http://forums.java.net/jive/thread.jspa?messageID=271276
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>