After scavenging through the open rmi source code, it appears that the Card A is being picked up from the RMI port. I essentially this while telnetting directly to the port(I'm hoping this output will escape correctly):
$ telnet 188.8.131.52 1099 (Card B)
Connected to 184.108.40.206.
Escape character is '^]'.
192.168.1.1rmMarshallejecojfcxConnection closed by foreign host. ~ UnicastRef2rver.RemoteObjectOaa3
Later, the app tries to connect to 192.168.1.1(card A).
This is the source of the problem, anyone know how to change that?
Can you try it with 3.2.2 and RmiBindAddress attribute?
module: src/main/org/jboss/naming; files: NamingService.java
comments: Add the RmiBindAddress attribute for the RMI Naming service bind address.
Tried it straight from source and still no good.
the only configuration I set was the:
BindAddress <Card A>
RmiBindAddress <Card A>
After telnetting into CardA:1055, I still see Card B IPAddress in the output. :(
I run my test case and it still shows Card B at SYNC_SENT state.
It was worth the try.
can you file a bug report on sourceforge.
So if anyone ever has the same problem, the fix is passing setting "java.rmi.server.hostname" property before starting jboss.
Thanks ioparra, I found the same bug and your workaround fixed it for me! Hopefully it will be fixed in a future release of JBoss?