Hi Kobi,
Did you find the solution for JBoss 5.1 regarding to the hostname issue?
Thanks,
Paul
I think he did http://community.jboss.org/message/546408#546408