1 Reply Latest reply on Jun 2, 2003 4:20 AM by Jon Barnett

    oracle DataSource in JBoss 3.2.1

    abhay Newbie

      Hello,
      In Jboss 3.2.1, I have created a Oracledb-ds.xml to create oracle datasource.

      <local-tx-datasource>
      <jndi-name>OracleDS</jndi-name>
      <connection-url>jdbc:oracle:thin:abhayr:1521:lbora</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>scott</user-name>
      tiger
      </local-tx-datasource>


      It getting deployed properly. In jaws.xml of an entity bean, I mentioned datasource as,

      java:/OracleDS
      <enterprise-beans>

      ......
      ......

      .....


      The problem is that instead of connecting to scott schema of oracle it is connecting to hypersonic hsql database.

      Can anybody help me on this issue?

      Thanks & regards,

      Abhay Rege