…what does it mean?
In my database.yml I have:
oracle_development:
adapter: jdbc
driver: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@192.168.4.84:1521:wapp
username: xxx
password: xxxx
and in my model:
class Viario < ActiveRecord::Base
establish_connection “oracle_#{Rails.env}”
end
To connect to a oracle db.
After upgrading to rails 3.0.9 I have the error in subject.
With rails 3.0.7 it works with no problems.
Here is some trace:
org/jruby/RubyKernel.java:1770:in tap' activerecord-jdbc-adapter (1.1.2) lib/arjdbc/jdbc/connection.rb:91:in
initialize’
activerecord-jdbc-adapter (1.1.2) lib/arjdbc/jdbc/adapter.rb:31:in
initialize' activerecord-jdbc-adapter (1.1.2) lib/arjdbc/jdbc/connection_methods.rb:6:in
jdbc_connection’
org/jruby/RubyKernel.java:2063:in send' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:229:in
new_connection’
activerecord (3.0.9)
lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in
checkout_new_connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:191:in
checkout’
org/jruby/RubyKernel.java:1419:in loop' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:187:in
checkout’
/home/mauro/jruby/lib/ruby/1.8/monitor.rb:191:in mon_synchronize' /home/mauro/jruby/lib/ruby/1.8/monitor.rb:190:in
mon_synchronize’
activerecord (3.0.9)
lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in
checkout' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:94:in
connection’
activerecord (3.0.9)
lib/active_record/connection_adapters/abstract/connection_pool.rb:317:in
retrieve_connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in
retrieve_connection’
activerecord (3.0.9) lib/active_record/conn