MySQL Forums
Forum List  »  Ruby

mysql error
Posted by: vinitha pot
Date: July 09, 2009 11:28PM

hi,
I am getting this error when trying to run an application using

jruby 1.1.5
mysql 5.1
MissingSourceFile in Rails/infoController#properties
no such file to load -- mysqlRAILS_ROOT: C:/JRuby/helloworld

Application Trace | Framework Trace | Full Trace
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/mysql_adapter.rb:66:in `mysql_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `new_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in `checkout_new_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:180:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:176:in `loop'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:176:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:175:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:90:in `connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:321:in `retrieve_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in `retrieve_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:113:in `connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action_with_caching'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_with_filters'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process_with_session_management_support'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/webrick_server.rb:103:in `handle_dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/webrick_server.rb:74:in `service'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
:1:in `start'C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/mysql_adapter.rb:66:in `mysql_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `new_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in `checkout_new_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:180:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:176:in `loop'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:176:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:175:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:90:in `connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:321:in `retrieve_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in `retrieve_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:113:in `connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action_with_caching'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_with_filters'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process_with_session_management_support'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/webrick_server.rb:103:in `handle_dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/webrick_server.rb:74:in `service'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/mysql_adapter.rb:66:in `mysql_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `new_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in `checkout_new_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:180:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:176:in `loop'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:176:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:175:in `checkout'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:90:in `connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:321:in `retrieve_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in `retrieve_connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:113:in `connection'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action_with_caching'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_with_filters'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process_with_session_management_support'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/webrick_server.rb:103:in `handle_dispatch'
C:/JRuby/jruby1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/webrick_server.rb:74:in `service'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/JRuby/jruby1.1.5/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
:1:in `start'This error occurred while loading the following files:
mysqlRequest
Parameters:
None
Show session dump
---
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers:
{"Cache-Control"=>"no-cache",
"cookie"=>[],
"Content-Type"=>""}

I copied .dll previous version of mysql to c:/jruby/bin but it didn't solve the problem.
could any one rectify what the problem is.

Options: ReplyQuote


Subject
Written By
Posted
mysql error
July 09, 2009 11:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.