2 Replies Latest reply on Dec 9, 2005 5:51 PM by toecheez

    conf/jndi.properties + HAJNDI question

      I see nothing in the docs or the wiki that says adding:

      java.naming.provider.url=localhost:1100


      is either a good thing or a bad thing. Is there a reason that this is not part of the JBossHA configuration? Is it a dumb thing to do?

      Any help would be appreciated.

      -ToeCheez

        • 1. Re: conf/jndi.properties + HAJNDI question

          If you specify port 1100, your lookups will be directed to HA-JNDI. While this will return local JNDI bindings, it won't be as efficient as if you use local jndi lookups. Of course, local jndi lookups won't work if the target isn't on the same cluster node.

          • 2. Re: conf/jndi.properties + HAJNDI question

            It also looks like it is not 100% deployable. The first time I started the server it, it worked fine, but restarts of the same server would fail almost every time. Looks like the wrong thing to do.

            Thanks for the feedback.
            -ToeCheez