I followed the guide "UsingJBossBehindAFirewall" and I managed to get an EJB to work correctly behind a firewall (I'm using the default ports). I opened TCP ports 1098, 1099, 4444 and 8083 and everything works great when making a call like jnp://jbossone:1099. But now I have 3 JBoss clustered using the "DefaultPartition" and need to use HAJNDI, so I tried to call my EJB using "jbossone:1100,jbosstwo:1100,jbossthree:1100" and also opened port 1100 on my firewall but I get no response... I doesn't even "time out", it seems to be frozen!
I'm using 3 JBoss in different PCs, all version 4.0.1sp1. All JBoss have the default cluster configuration and are behind the same firewall (there's no firewall between each Jboss). I added the true tag to the jboss.xml for my EJB and deployed it on all Jboss servers.
I tried "telnet jbossone 1100" and I get this response:
172.17.1.65?%s?????xxa6?sr,org.jboss.ha.framework.interfaces.RoundRobinx.???:xpxConnection closed by foreign host.
So I guess it can communicate well through the firewall, but I don't know why it is "freezing" when I call an EJB using jnp://jbossone:1100. (or using a list separeted by " , ")
Something weird is that it doesn't even give me an exception or time out...
Am I missing some important ports or other configuration?
JNDI works great (port 1099), it is just HAJNDI that doesn't work (port 1100)
Thanks for your help