2 Replies Latest reply on Mar 17, 2002 11:08 PM by ewhale

    No resource manager found for jdbc/oraclePool

    ewhale

      Hi all,

      I have been getting the following exception after I package my application into a .ear file.

      [Container factory] No resource manager found for jdbc/oraclePool

      I did not have this problem when the my application is not packaged. My application consists of bmp entity beans, stateless session beans, servlets, and jsp.

      After giving me the above error, the application printed:

      [Container factory] Deployed application: file:/home/userid/jbosscat/jboss/tmp/deploy/Default/myapp.ear
      [J2EE Deployer Default] J2EE application: file:/home/userid/jbosscat/jboss/deploy/myapp.ear is deployed.

      I can even access the html page and the servlet seemed to work. However, I was not able to log on as a user. To log on as a user requires the password to be matched against the encrypted password in the Oracle database. This is done by a servlet with the help of a stateless session bean.

      Please let me know if you have encountered similar problem and how you solve it.

      Thanks a lot and have a nice day.

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

          Do u have a resource manager in your jboss.xml? For example, DefaultDS:

          <resource-managers>
          <resource-manager res-class="">
          <res-name>DefaultDS</res-name>
          <res-jndi-name>java:/DefaultDS</res-jndi-name>
          </resource-manager>
          </resource-managers>

          • 2. Re: No resource manager found for jdbc/oraclePool
            ewhale

            Thanks for your reply. I do have the following in my jboss.xml files:

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

            However, I did not include the attribute 'res-class' in the 'resource-manager' element. Is that causing the problem? What should I put as the value for that attribute?

            oracle.jdbc.driver.OracleDriver OR
            org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl?

            The application is working now as I discovered I forgot to include one .jar file into the .ear earlier. However, the 'Resource manager not found' message remains.

            Thanks again.