-
1. Re: Having trouble connecting jboss 3.2.2 to Oracle 10g
lafr Aug 18, 2004 6:23 PM (in response to seckley)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. -
2. Re: Having trouble connecting jboss 3.2.2 to Oracle 10g
seckley Aug 19, 2004 8:55 AM (in response to seckley)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. -
3. Re: Having trouble connecting jboss 3.2.2 to Oracle 10g
lafr Aug 19, 2004 5:07 PM (in response to seckley)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.