You have to put the jdbc-driver for Oracle 10g in your $JBOSS_HOME/server/lib dir.
If you use oci-protocol, then you need at lesast an oracle client installation with the needed native shared libs.
If you would change protocol to thin, your problem should go away too, since you no longer need the native libs.
i have tried the 10g drivers in the lib dir of the server and i still got the same result. I have a full installation of Oracle 10g on the machine where
the server is. however the db i am connecting to is an oracle 9i db. I have tried the the thin statement in the Oracle-ds file but to no avail. I'm stumped.
Your configuration is not quiet clear to me.
On the box where jboss is running you have 10g installed ?
You use a 9i instance on another box ?
You should use oci instead of oci8 in your protocol definition.
Environment variable ORACLE_HOME must be set and point to the oracle 10g software dir.
Environment variable LD_LIBRARY_PATH must include the dir with libocijdbc9.so in it.
This is $ORACLE_HOME/lib or $ORACLE_HOME/lib32 depending if you have 32 or 64 bit version of oracle installed.