1 Reply Latest reply on Oct 19, 2003 7:32 AM by juha

    Client->firewall->EJB

    t.beha

      Hello,

      I've a problem with the lookup from my standalone-client.
      The web-client works,so I fixed the ports jndi to 1099, rmi to 4443,
      rmiobject to 4444 and open the ports in the firewall.

      First I tried this properties for the lookup

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory;
      java.naming.provider.url=jnp://[IP]:1099/;
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces;

      but it wont work:
      javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]


      Then I tried to lookup over HTTP
      java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
      java.naming.provider.url=http://[IP]:8080/invoker/JNDIFactory

      but it also don't work;
      javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.net.NoRouteToHostException: No route

      I've also set home/bean invoker to the beans in the jboss.xml

      ...
      <home-invoker>jboss:service=invoker,type=http</home-invoker>
      <bean-invoker>jboss:service=invoker,type=http</bean-invoker>


      Nothing work! :(

      Has anybody an idea???