2 Replies Latest reply on Dec 15, 2001 5:06 PM by Sebastian Hallensleben

    in-VM calls over RMI?

    Sebastian Hallensleben Newbie

      Hi,

      while fixing JNDI problems I came across the following section in jndi.properties:

      # Do NOT uncomment this line as it causes in VM calls to go over
      # RMI!
      #java.naming.provider.url=localhost

      I did not see this advice *not* to uncomment anywhere else (doc or forums), and found that I could not get the Initial Context lookup to work without uncommenting the line. The JBoss doc also indicates that java.naming.provider.url has to be set to the url of the JNDI server.

      Just curious why this advice is in the file, and under what circumstances it is relevant?

      Thanks,
      Sebastian