0 Replies Latest reply on Aug 7, 2006 2:12 PM by Alex Campbell

    "no valid JNDI binding" !!!

    Alex Campbell Newbie

      I'm trying to configure JBoss for Oracle10g. Every time I try to launch my application I get the error: javax.naming.NamingException: resource-ref: jdbc/MyOracleDS has no valid JNDI binding.
      You should know that I am new to Oracle, JBoss and IT in general. However, I have followed the Start Guide and set up accordingly. I noticed that in one of the demo applications they talk about an ?application-client.xml file and a jboss-client.xml file. As these are not present when I search the jboss directory I?m guessing they might be files I need to include? If so, are there any templates out there? Much thanks in advance for any help/direction you can offer! -- Alex

      My ?oracle-ds.xml file is as follows:

      <?xml version="1.0" encoding="UTF-8"?>


      <local-tx-datasource>
      <jndi-name>MyOracleDS</jndi-name>
      <connection-url>jdbc:oracle:thin:@xxx.xxx.xxx.xx:1521:xxx</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>MyUserName</user-name>
      MyPassword
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>


      <type-mapping>Oracle9i</type-mapping>

      </local-tx-datasource>