0 Replies Latest reply on Jul 16, 2003 10:52 AM by nepos_uck

    EjbBMP and Oracle Datasource

    nepos_uck

      1) resource ref and resource managers tags are used only to prompt a deploy error at deployment time? or are needed to permit my ejb access a datasource?? if yes how to describe this relation in ejb-jar.xml and jboss.xml

      2) i've created my non-XA oracle datasource:
      oracle-ds.xml

      <local-tx-datasource>
      <jndi-name>java:/dsOraScio</jndi-name>
      <connection-url>jdbc:oracle:thin:@10.0.0.102:1521:scio</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>repmob</user-name>
      repmob
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
      </local-tx-datasource>

      the jndi name i've is "java:/dsOraScio" but in my ejbbmp i must access this as "java:comp/env/dsOraScio" ?? (why?)