1 Reply Latest reply on May 17, 2011 3:18 AM by maluvel

    jboss EJB remote interface required ports

    maluvel

      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