From: Xavier Noria Date: 2007-11-16T02:12:16+09:00 Subject: Re: Do I need to use JRuby to access an remote oracle DB with JDBC ? On Nov 15, 2007, at 5:25 PM, wbsurfver@yahoo.com wrote: > When I try to connect to a remote oracle DB using activerecord oci8, I > get the error below. > > I can connect with dbvisualizer tool using a JDBC connection. I'm not > on an officialy sanctioned project and can't really bug the sys admins > or anyone to configure me something on the remote server. If I want to > try to connect in ruby using JDBC, I'm guessing I may have to use > JRuby otherwise it won't work ? Probably the Java application is using the thin driver. If you have the Oracle client installed you need to configure it properly (ORACLE_HOME, tnsnames.ora). Otherwise JRuby + driver thin is an option, yes. -- fxn