Hello All,
Thank you for the comments!! I'll check to see if the computers are on
the same subnet.
I looked in the Windows registry as you suggested below, and I don't
even have a TrFunctionalMcastAddress key, so I'm pretty sure the problem
is on my computer somewhere. I suspect I'll just pass this along to the
corporate technology folks and have them set up a Unix cluster.
Thanks!!!
-Ryan
________________________________
From: Shreedhar.Ganapathy_at_Sun.COM [mailto:Shreedhar.Ganapathy_at_Sun.COM]
Sent: Monday, February 11, 2008 3:27 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Enable Session Memory Replication
Hi Ryan
Some things to check in a multi machine setup
1. check if the machines are on the same subnet. ifconfig -a should show
the ip address of both the machines to be on the same subnet.
2. On Linux/Unix,
ifconfig -a should show the MULTICAST attribute present for your
network interface. Also ensure that the interface is in up and running
state.
If multicast is not enabled, you can use
ifconfig <interfacename> multicast
to enable it
On Windows, open Regedit and look for HKEY_LOCAL_Machine > SYSTEM >
CurrentControlSet > Services > Tcpip > Parameters.
Look for the parameter TrFunctionalMcastAddress and see if the value is
set to 0. If its not set to 0, set it to 0.
3. In your multi machine setup, look in the server.log file if you have
entries that show phases such as ADD_EVENT or MASTER_CHANGE_EVENT. And
in the log line above it see if both the instances are present. This
could be a symptom of multicast not being enabled or not being on the
same subnet.
4. Also ensure your /etc/hosts file has your ip mapped to your machine.
hth
Shreedhar
Asleson, Ryan wrote:
I run through a wizard in the application, and at the end of the
wizard
(on a summary screen) I shut down the instance that has been
servicing
the wizard up until now. I then navigate backwards through the
wizard
screens (using an app-define "Back" button, not the browser back
button)
and I should see the values that I entered the first time
through the
wizard.
It works when the instances are on the same computer, but not
when the
instances are on different computers. I'm sure there's some
sort of
configuration I have set up incorrectly, but I don't know what.
-----Original Message-----
From: Peter.Fabian_at_Sun.COM [mailto:Peter.Fabian_at_Sun.COM]
Sent: Monday, February 11, 2008 2:50 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Enable Session Memory Replication
Asleson, Ryan wrote:
Thank you Larry!
I'm part way there. I undeployed the application from
Glassfish and
redeployed it (all from the online admin console) while
sure to check
"Availability" during deployment. Session replication
and failover
now works on a cluster where the cluster instances
reside on the same
computer. So, I think the configuration is working.
However, when I tweak the web server to point to a
cluster where the
two instances are on different computers, the session
replication and
failover doesn't work. Same application.
Any idea why? Is there something I can check to help me
figure it
out?
how do you test the replication?
Peter
--
Peter Fabian
Sun Software
AIM/skype:fabianpetergabor
Sun corp IM:pf120168_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail:
users-help_at_glassfish.dev.java.net
This e-mail message is being sent solely for use by the intended
recipient(s) and may contain confidential information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please contact the sender by phone or reply by
e-mail, delete the original message and destroy all copies. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail:
users-help_at_glassfish.dev.java.net
This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.