What version of JBoss are you using ?
Does $JBOSS_HOME/server/?/conf/standardjbosscmp-jdbc.xml contain a mapping for Oracle9i ?
I use JBoss 4.0.0.
I read in the article that the standardjbosscmp-jdbc.xml must be like I posted here. I don't know what else needs there.
What the Oracle9i stands for, or refers to?
standardjbosscmp-jdbc.xml lives in $JBOSS_HOME/server/?/conf and contains a lot of different mappings for Oracle7, Oracle8, Oracle9, Informix, ...
Just use the version jboss comes with.
In your ejb.jar deployment unit in META-INFfolder you shoud have the jbosscmp-jdbc.xml beginning with the lines you showed us.
(standard)jaws.xml is not used by EJB 2.x compliant units.
That was the problem.
I erased these and left only these two lines as i saw in the article...