1 Reply Latest reply on Aug 28, 2006 10:56 AM by Peter Johnson

    JNDI using spring (URGENT)

    Fadi Samara Newbie

      Hey list,

      I am trying to setup my environment with JBOSS 4.
      I am using spring as well. Oracle backend. Below are my configs.

      I created an oracle-xa-ds.xml in DEPLY dir.
      contents of oracle-xa-ds.xml
      <xa-datasource-property name="URL">jdbc:oracle:thin:@</xa-datasource-property>
      <xa-datasource-property name="User">gisrnew</xa-datasource-property>
      <xa-datasource-property name="Password">gisrnew</xa-datasource-property>
      <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
      <!-- Checks the Oracle error codes and messages for fatal errors -->
      <!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->

      and applicationContext.xml



      i am getting this error

      javax.naming.NamingException: JNDI object with [java:/gisr] not found: JNDI implementation returned null

      any help appreciated.