3 Replies Latest reply on Oct 10, 2003 4:34 AM by b_boyle18

    JNDI Lookup problem

    b_boyle18 Newbie

      I have JBoss-3.0.6 running on win2k that is not connected to a network. I connect to the internet via a dial-up connection.
      When I runmy prgram, when it comes to the lookup part it throws an exception. I checked out my JNDI.proerties file and set the localhost to 1099. When I did this it worked, but I have been told that I shouldn't have to do this. Is there anyway I can get the lookup working without modifying the JNDI.properties file? I was told it may have something to do with multicast?
      My original JNDI.properties file can be seen below.
      THanks in advance,
      B

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      # Do NOT uncomment this line as it causes in VM calls to go over
      # RMI!
      #java.naming.provider.url=localhost