1 Reply Latest reply on Aug 24, 2002 6:08 AM by juha

    No resource manager found for jdbc/DB

    manan

      I am trying to make database connection with Oracle. ( Database and JBoss are on different machines) but I am facing problems.

      Error displayed is -"No resource manager found for jdbc/DB"

      in JBoss.xml,
      code related to database look up is there:

      <resource-managers>
      <resource-manager>
      <res-name>DB</res-name>
      <res-jndi-name>java:/DB</res-jndi-name>
      </resource-manager>
      </resource-managers>

      in ejb-jar.xml,
      code related to database look up is there
      <resource-ref>
      No Description
      <res-ref-name>jdbc/DB</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      Error displayed is -"No resource manager found for jdbc/DB"

      Do I need to define CONTEXT for jdbc/DB. If yes, where and in which file?
      Any pointers?

        • 1. Re: No resource manager found for jdbc/DB

          > in JBoss.xml,
          > code related to database look up is there:

          Here you need to map to the name you created in ejb-jar.xml:

          >
          > <resource-managers>
          > <resource-manager>
          > <res-name>DB</res-name>

          So the above should be jdbc/DB


          > in ejb-jar.xml,
          > code related to database look up is there
          > <resource-ref>
          > No Description
          > <res-ref-name>jdbc/DB</res-ref-name>
          > <res-type>javax.sql.DataSource</res-type>
          > <res-auth>Container</res-auth>
          > </resource-ref>
          >
          > Error displayed is -"No resource manager found for
          > jdbc/DB"