Skip to content

Instantly share code, notes, and snippets.

@atambo
Created February 3, 2011 17:44
Show Gist options
  • Save atambo/809842 to your computer and use it in GitHub Desktop.
Save atambo/809842 to your computer and use it in GitHub Desktop.
jruby-1.6.0.RC1 :001 > EntityRegionWidget.find(46)
RuntimeError: The driver encountered an unknown error: java.sql.SQLException: Failed to start database 'db/development' with class loader org.jruby.util.JRubyClassLoader@6af2f0d0, see the next exception for details.
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/jdbc/connection.rb:93:in `initialize'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/jdbc/adapter.rb:31:in `initialize'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/jdbc/connection_methods.rb:6:in `jdbc_connection'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/jdbc/connection_methods.rb:13:in `embedded_driver'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/derby/connection_methods.rb:7:in `derby_connection'
from org/jruby/RubyObject.java:1340:in `send'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:228:in `new_connection'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:236:in `checkout_new_connection'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `checkout'
from org/jruby/RubyKernel.java:1421:in `loop'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `checkout'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:185:in `checkout'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:93:in `connection'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:316:in `retrieve_connection'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in `retrieve_connection'
... 10 levels...
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/activerecord-3.0.3/lib/active_record/base.rb:439:in `find'
from (irb):1:in `evaluate'
from org/jruby/RubyKernel.java:1091:in `eval'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/irb.rb:158:in `eval_input'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/irb.rb:271:in `signal_status'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/irb.rb:155:in `eval_input'
from org/jruby/RubyKernel.java:1421:in `loop'
from org/jruby/RubyKernel.java:1194:in `rbCatch'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/irb.rb:154:in `eval_input'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/irb.rb:71:in `start'
from org/jruby/RubyKernel.java:1194:in `rbCatch'
from /home/tambellini/.rvm/rubies/jruby-1.6.0.RC1/lib/ruby/1.8/irb.rb:70:in `start'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/railties-3.0.3/lib/rails/commands/console.rb:44:in `start'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start'
from /home/tambellini/.rvm/gems/jruby-1.6.0.RC1@scrapple/gems/railties-3.0.3/lib/rails/commands.rb:23:in `(root)'
from org/jruby/RubyKernel.java:1041:in `require'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment