1 Reply Latest reply on Jan 18, 2013 12:23 AM by jaikiran

    Jndi name lookup

    mitvivek

      Hi

       

      I had a DS initially created by the jndi name: jdbc/TestDS.

       

      But in Jboss the naming convention for the same needs to be somewhat like java:/jdbc/TestDS.

       

      Could you please tell me how shall I look this DS in my application? Shall this be still through "jdbc/TestDS" or shall this be "java:/jdbc/TestDS"

       

      Thanks

      Vivek

        • 1. Re: Jndi name lookup
          jaikiran

          Vivek Mittal wrote:

           

          Could you please tell me how shall I look this DS in my application? Shall this be still through "jdbc/TestDS" or shall this be "java:/jdbc/TestDS"

           

          You should use java:/jdbc/TestDS during the lookup too, since the server doesn't automatically prefix any namespace during the lookups.