2 Replies Latest reply on Nov 14, 2003 2:22 AM by Jon Barnett

    resource refs bind to DefaultDS instead of my JNDI

    Steve Maring Newbie

      in my jboss.xml (3.2.2) I state:

      <resource-ref>
      <res-ref-name>jdbc/datasource</res-ref-name>
      <resource-name>MyDS</resource-name>
      </resource-ref>

      and in the DEBUG of the app deployment I would expect to see:

      Binding resource manager: java:/MyDS to JDNI ENC as: jdbc/datasource

      but instead I get:

      Binding resource manager: java:/DefaultDS to JDNI ENC as: jdbc/datasource

      and since the DefaultDS is the HSQLDB, my apps try to connect to it instead of my Oracle DB.

      Any Thoughts?

      Steve Maring
      Tarpon Springs, FL