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>
 <jndi-name>gisr</jndi-name>
 <track-connection-by-tx/>
 <isSameRM-override-value>false</isSameRM-override-value>
 <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
 <xa-datasource-property name="URL">jdbc:oracle:thin:@63.88.245.92:1521:gisr1</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 -->
 <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
 <!-- Checks the Oracle error codes and messages for fatal errors -->
 <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
 <!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
 <no-tx-separate-pools/>
 </xa-datasource>
and applicationContext.xml
 java:/gisr
 true
i am getting this error
javax.naming.NamingException: JNDI object with [java:/gisr] not found: JNDI implementation returned null
any help appreciated.
Thanks
Try looking up "java:gisr".