Assuming you are using jboss 3... if not, don't use service.xml file...
1. Look in jndiview to check something is bound, and what.
2.Make sure autodeployer is trying to deploy your jar after the oracle-service.xml file, you may have to put service.xml in deploy/lib or some such.
3. (highly unlikely) If there are native libs with this driver, they may have to be in some well known location like in the jdk directory. This is unlikely to result in your datasource not being bound, however.
Thanks David, for your response... I finally figured out what was going on... I wasn't using JBoss 3. So I got it all working puting in a definition into the jboss.jcml file.
Now I'm trying out JBoss 3 on linux. I am using the oracleds-service.xml file and have everything in the right place I think, but I get an exception during startup that the oracle.jdbc.driver.OracleDriver class not found. I have put the classes12.zip file into the lib/ext directory. Any ideas?