in my webcontent\WEB-INF\classes
i create datasource.xml
with the below content
<jee:jndi-lookup id="dataSource" jndi-name="java:jdbc/ics" />
where the jndi name is same with the oracle-ds.xml plus "java:" prefix
so if the your jndi name inside oracle-ds.xml like the following
<jndi-name>jdbc/jeppy</jndi-name>
then jndi name for your datasource.xml will become like
<jee:jndi-lookup id="dataSource" jndi-name="java:jdbc/jeppy" />
hope that's help
Regards,
Jeppy Suparto