Hi all,
I am having problem using jboss EJB as a remote service for my application running in tomcat.
I have two Linux machine, one running jboss and one running tomcat. They are in local intranet.
If I do not set up any firewall in the machine running jboss, the remote service works just fine from other linux machine.
However, when I have a firewall in jboss machine to block all incomming port, allowing only port 1099 (which is required), the remote service fails and it cries abbout 'connection timeout'.
I also tried to open some suspicious ports such as 1090,1098, 8009, 8083,.. but no helps.
My context config:
properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces");
properties.put("java.naming.provider.url","jnp://10.0.0.235:1099");
Any help pls.
Lam Le
Hi, I have found the solution, I post it here in case someone might need.
Open ports for remote EJB:
-1099 : Naming service port.
-1098 : Rmi service port.
-3873 : EJB3 Remote Invoker Port.