thanks to you all i was able to connect to the db at last but the driver
gives me an error i cant understand. It looks like this.
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
The driver encountered an error:
org.jruby.runtime.builtin.IRubyObject.setInstan
ceVariable(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/
runtime/builtin/IRubyObject;
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/ActiveRecord-JDBC-0.5/lib/active_record/co
nnection_adapters/jdbc_adapter.rb:265:in initialize' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/ActiveRecord-JDBC-0.5/lib/active_record/co nnection_adapters/jdbc_adapter.rb:41:in
new’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/ActiveRecord-JDBC-0.5/lib/active_record/co
nnection_adapters/jdbc_adapter.rb:41:in jdbc_connection' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne ction_adapters/abstract/connection_pool.rb:223:in
new_connection’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne
ction_adapters/abstract/connection_pool.rb:245:in
checkout_new_connection' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne ction_adapters/abstract/connection_pool.rb:188:in
checkout’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne
ction_adapters/abstract/connection_pool.rb:184:in loop' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne ction_adapters/abstract/connection_pool.rb:184:in
checkout’
c:/jruby-1.5.1/lib/ruby/1.8/monitor.rb:191:in mon_synchronize' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne ction_adapters/abstract/connection_pool.rb:183:in
checkout’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne
ction_adapters/abstract/connection_pool.rb:98:in connection' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne ction_adapters/abstract/connection_pool.rb:326:in
retrieve_connection’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne
ction_adapters/abstract/connection_specification.rb:123:in
`retrieve_connection’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/conne
ction_adapters/abstract/connection_specification.rb:115:in connection' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/migra tion.rb:440:in
initialize’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/migra
tion.rb:401:in new' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/migra tion.rb:401:in
up’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/migra
tion.rb:383:in migrate' C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/databases.rake:112 c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
call’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
execute' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
each’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
execute' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with
_call_chain’
c:/jruby-1.5.1/lib/ruby/1.8/monitor.rb:191:in mon_synchronize' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with
_call_chain’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
invoke' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_tas
k’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
each' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_e xception_handling' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in
run' c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_e
xception_handling’
c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in
run' C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in
load’
c:/jruby-1.5.1/bin/rake:19
pleas help.
Thank you in advance