-
1. Re: Session Replication
slaboure Jul 5, 2003 3:13 AM (in response to ged)which version of jboss? try a 3.0.8 and if you still have the problem, make sure you do have session replication really working. It seems the credentials are simply not replicated between nodes.
Cheers,
sacha -
2. Re: Session Replication
ged Jul 7, 2003 2:44 AM (in response to ged)Hello.
I'm using version 3.2.1. Hmm, well, maybe that could be it? That I haven't got it working. Do you know of aany good testtools to now I've got the clustering and replication working? The app I'm testing with is rather big and maybe the source of all my problems? So a small test app would be very nice. And I will also try with 3.0.8 if I find it.
Thanks for the suggestions!
Regards,
Daniel -
3. Re: Session Replication
ged Jul 7, 2003 4:05 AM (in response to ged)Some more information. I just tried with Jboss 3.2.1 with tomcat, and well I get this information msgs:
"[DefaultPartition:ReplicantManager] No responses from lookupLocalReplicants!"
And on the other computer:
"[DefaultPartition:Replicantmanager] lookupLocalReplicants size() = 1"
And it is not working. The way I installed everything was just unzipping jboss tomcat, adding a realm in login-config.xml, adding oracle-ds.xml with right settings, adding to my webapp, and running all configuration. I can see the two computers reported when clustering is started. Mod:jk2 is working perfectly, allowing me to access the computers with just one ip, but the last bit of the puzzle, (with the configuration above) replication, is not yet working.
My ifconfig on both computers is showing MULTICAST. I'm using the same hardware and same OS (RH 9). Hostname is addad to hosts and environment variables are setup.
This is about everything I have done. If you need more information that can be helpful just ask!
But I will prevail! I will fight! ;) Will try with the older version as you suggested.
Thanks in advance,
Daniel -
4. Re: Session Replication
slaboure Jul 8, 2003 12:56 PM (in response to ged)are you sure ipchains or equivalent is not started with your RH9, it is by default.
cheers,
sacha -
5. Re: Session Replication
ged Jul 9, 2003 7:43 AM (in response to ged)Hello again, and thank you for trying to help! =)
Ipchains is gone from both computers. BUT, the problems is partly solved! Today after many ugly words and desperate tries, we discovered that it was the NIC! So we switched to another card.
So now instead of not working it almost works. JK switches between the two computers without problem, but when I login to on one computer and then disconnect it I have to login again when JK switches over to the second one. And the session is not saved. But now it doesn't hang and that is good. =)
Are there any special things to think about or configure when you're dealing with session replication and accounts? (Except the usual jbossweb-jetty->jboss-service.xml, distributable, running all)
Regards,
Daniel