2 Replies Latest reply on Jun 4, 2004 9:43 PM by pereran

    Oracle based JNDI connection ( JBoss 3.2.3 on W2K )

    pereran

      Hi,

      I am attempting to do an Oracle based JNDI connection. I have the following in

      c:\jboss-3.2.3\server\default\deploy\oracle-ds.xml ( looking at the sample given in docs\example\jca )


      <local-tx-datasource>
      <jndi-name>OracleDS</jndi-name>
      jdbc:oracle:thin:@localhost:1521:demo</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>demo</user-name>
      demo1
      </local-tx-datasource>


      and I also have the oracle.jar in the server\lib directory,

      when I execute my jsp, I get:
      Unable to get the Connection Pool: OracleDS
      Error: javax.naming.NameNotFoundException: OracleDS not bound

      I am using the default JBoss 3.2.3 installation, and trying to get a demo webapp working which makes a JNDI connection to an Oracle db. Is there some config I am missing ?