0 Replies Latest reply on Jul 12, 2004 3:31 AM by zumbiehl

    ports used by a RMI client invoking an EJB through a firewal

    zumbiehl Newbie

      Hi everybody,

      I am trying to invoke an EJB from a remote client using the classic JNDI lookup mothod :
      - jndi.properties file in the client side looks like
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.provider.url=jnp://<JBOSS_HOST_IP>:1099

      JBoss is running behind a firewall which following ports 1099, 1098 and 4444 are opened.

      I am still getting on the client :
      javax.naming.CommunicationException: Receive timed out. Root exception is java.net.SocketTimeoutException: Receive timed out

      I would like to avoid if possible the RMI over HTTP approach.

      How is everybody else doing this ??
      which additional ports should be opened on the firewall ?

      any advice or reference to a doc would be most welcome ! :-)

      Thanks in advance
      Chris