Have you specified 4444 as the port for JRMPInvoker.
Also there was a bug fixed in 3.0.5 where a failure
return null rather than throwing an exception.
Did you mean on this fragment of code in jboss-service.xml?
I did. Is there any other place I have to do it?
Let me rephrase my question. Can JBoss work behind a firewall if the client is not using HTTP to connect to it?
You need to make sure all the ports are open on the firewall
and ensure the packets can be routed.
You also need to ensure the RMI objects are bound to
specific ports (it looks like you did this for JRMP,
what about jndi? 1099 is just the bootstrap
there is another port for the jndi communication),
see the MBean config on the JMX Console.
RMI uses ip addresses by default. You might find it
easier to use the jvm system property -Djava.rmi.server.hostname if you can route packets by
It may work better if you specify the bind address (this
name changes depending upon the service)
on each RMI object. Again see the attribute names
on the JMX Console.