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.
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!
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,
are you sure ipchains or equivalent is not started with your RH9, it is by default.
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)