2 Replies Latest reply on Feb 4, 2004 12:47 AM by Jeffrey

    two JNDI providers

    Jeffrey Newbie

       

      "jeffko32" wrote:
      can TWO jndi providers located on the same jboss?

      I want to deploy two webapps and want them to only access its own jndi context (i.e. different port, say 1099 and 1010).

      How do I specify that? Do I specify that in jboss-server.xml? if so, how?

      Thanks in advanced.

      jeffko32


        • 1. Re: two JNDI providers
          Darran Lofthouse Master

           

          "darranl" wrote:

          Could you explain to us what you are trying to achieve.

          There are other possibilities for managaing JNDI for different applications.


          • 2. Re: two JNDI providers
            Jeffrey Newbie

            THANKS in advanced.

            What I am trying to do is to deploy 2 webapps on one jboss. One webapp is actually the upgrade version of the other one. I want them to be installed into a same jboss server. These two webapps connect to their own separate databases. Since the jndi names are the same among these two versions, I want to use two different jndi context in order to allow each of them to call their own ejbs, just like in different servers, and with minimal modification on the code.

            jeffko32