First thing...this is a wrong forum for your question...
You should have posted it in "Datasource Configuration" forum.
To setup the JDBC datasource to oracle9i do the following:
1. Go to <JBOSS_HOME>/docs/examples/jca directory
2. Here you will find one file named as oracle-xa-ds.xml
3. make the appropriate changes in this file as per your requirement.
4. Copy this fine to your deploy directory.
5. To access the datasource, refer the JNDI name given in the XML file.
Apology for the wrong post.
Thanks a lot for your guidance.