OK, without the firewall it works.
Is there anybody who knows which protocols I've forgotten to allow in my firewall conf ?
Difficult to say. Should only be 1099 for the naming lookup failure. However, it may be more likely that the connection is just being blocked. Test by telnet host 1099 from your remote machine and see if you get anything from the NamingServer.
Assuming an iptables configuration you may want to look at exactly what the iptable script is doing.
first, thanks for your reply jonlee.
Here is the result of my investigations:
In 3.2.2, rmi port is set by the conf/jboss-service.xml in the JNDI part (see attribute RmiPort) to 1098.
In 3.2.1 this is arbitrary decided at launch by default. If you place the attribute as in 3.2.2, it works !