0 Replies Latest reply on Nov 18, 2005 12:35 PM by Bieth Bruno

    Remote EJB Client doesn't work but Remote RMI Client does

    Bieth Bruno Newbie

      Hello,

      I have a working JBoss 4.0.3 server behind a firewall (in a DMZ). The following port are open : 1098, 1099, 4444 and 4445.
      I use the -Djava.rmi.server.hostname and the System.getProperty( java.rmi.server.hostname ) return the correct hostname.

      My simple remote client can't access to the server : it wait ...
      The client is using JNDI like this :

      env.setProperty( Context.PROVIDER_URL, url );
      env.setProperty(Context.SECURITY_PRINCIPAL, login );
      env.setProperty(Context.SECURITY_CREDENTIALS, mdp );
      env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");
      


      I have done a simple RMI client/server test, and it work fine.

      I have equally put the server on a machine which is not behind a firewall and it work.

      My remote EJB client work be in my local network.

      I don't have anymore idea ...

      Thanks for your help !!