Hi:
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, 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:
??srjava.rmi.MarshalledObject|???c?>IhashlocBytest[BobjBytesq~xp?w?srjava.rmi.MarshalledObject|???c?>IhashlocBytest[BobjBytesq~xp?w??ur[B???T?xpB??thttp://jbossone:8083/q~q~q~q~q~q~q~uq~??s}org.jnp.interfaces.Naming,org.jboss.ha.framework.interfaces.HARMIProxyxrjava.lang.reflect.Proxy?'?
?C?Lht%Ljava/lang/reflect/InvocationHandler;xpsr-org.jboss.ha.framework.interfaces.HARMIClient???j???LfamilyClusterInfot5Lorg/jboss/ha/framework/interfaces/FamilyClusterInfo;LkeytLjava/lang/String;LloadBalancePolicyt5Lorg/jboss/ha/framework/interfaces/LoadBalancePolicy;xpwDefaultPartition/HAJNDIsrjava.util.ArrayListxa?Isizexpwsr2org.jboss.ha.framework.server.HARMIServerImpl_Stubxrjava.rmi.server.RemoteStub?exrjava.rmi.server.RemoteObject?a??
a3xpw6
UnicastRef2
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
Aaron
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891858#3891858
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891858
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user