2 Replies Latest reply on Aug 14, 2008 10:16 AM by jagdeep

    jndi.properties and RMI

      Hi All, I have two applications in JBoss app1 and app2 inside two configuration folders of the same name.
      They have code to communicate using RMI (app1=server app2=client). When I use try to define custom ports using the jndi.properties file, I get connection refused eeception for both. When I don't the client - server communicate nicely using the default settings.
      My question was, what am I missing? do I need to define the jndiport somewhere other than jndi.properties too? What other properties can I define in this file. Right now, one of the props file looks like this:

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jnp.interfaces
      java.naming.provider.url=jnp\://localhost\:2999