Skip to content

Instantly share code, notes, and snippets.

@mikewadhera
Created June 17, 2010 19:31
Show Gist options
  • Save mikewadhera/442654 to your computer and use it in GitHub Desktop.
Save mikewadhera/442654 to your computer and use it in GitHub Desktop.
Jun 17 19:24:00 domU-12-31-39-13-C1-41 rails[5015]: ActiveRecord::StatementInvalid (NativeException: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this state.: SELECT count(*) AS count_all FROM `users` ): /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:188:in `log' /usr/jruby-1.3.1/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.1/lib/active_record/connection_adapters/jdbc_adapter.rb:563:in `execute' /usr/jruby-1.3.1/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.1/lib/active_record/connection_adapters/jdbc_adapter.rb:623:in `select' /usr/jruby-1.3.1/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.1/lib/active_record/connection_adapters/jdbc_adapter.rb:559:in `select_one' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:19:in `select_value'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment