As I understand to create an EJB connection between different machines you need that JBoss will know its IP on start (like " standalone.sh -Djboss.bind.address=10.152.153.23 -Djboss.bind.address.management=10.152.153.23") .
Otherwise the EJB client will not be able to connect from different machine to JBoss.
But what about the situation when JBoss runs on AWS Amazon and EJB Client runs on different address space (for example at Rackspace) and knows only the Elastic IP of Jboss's machine.
If you 'll try to make " standalone.sh -Djboss.bind.address=<elastic_ip> -Djboss.bind.address.management=<elastic_ip>" JBoss will crash since it doesnt know the Elastic IP Network Interface.
So what to do?
Have you fixed this issue? If yes, can you please let me know?
I got struck in the same issue.