What is the correct database.yml setup for JRuby 1.1.3, AR-JDBC adapter 0.7.2, Rails 1.2.3

All,

JRuby 1.1.3
AR-JDBC adapter 0.7.2
Rails 1.2.3

I am using Goldspike to generate a WAR file that I then deploy into
Websphere.

I can’t seem to get the DB access to work in my application even though
“jruby script/console” works fine and I can do queries from there.

Here is the relevant portion of database.yml:

adapter: jdbc
driver: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/vendorportal_development
username: root
password: my_password

Is there something obvious that I’m doing wrong here? I see that it
appears that the drivers have been split out of the ar-jdbc-adapter as
of 0.8.2, is that also the case for 0.7.2? (I tried to get 0.8.2
working with this, but new rake tasks were missing, so I rolled back to
0.7.2).

Any help is appreciated,

Wes


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Tue, Jul 29, 2008 at 7:12 PM, Wes G. [email protected] wrote:

that also the case for 0.7.2? (I tried to get 0.8.2 working with this, but
new rake tasks were missing, so I rolled back to 0.7.2).

Do you have any stack traces or error messages in your server log? Do
you have the mysql driver on the classpath for script/console, but
perhaps it’s missing when you run in the appserver?

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email