 |
Forums |
Admin Discussion Forums: help Start New Thread
| Message: 173294 |
 |
BY: Daniel Gagne (gagnedan) DATE: 2013-01-10 17:23 SUBJECT: RE: OCIInvalidHandle Hi Kubo,
Here is the requested info.
ruby-oci8 (2.1.0)
ruby (1.9.3-p125)
Oracle instantclient-sdk-10.2.0.4.0 32 bits
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
I have tried several thing like ruby-oci8 (2.1.4) with ruby (1.9.3-p286) but I get the same error. Like I said earlier everything was running fine using the version mentionned above.
Here is the Stacktrace
oci8.c:365:in oci8lib_191.bundle
ruby-oci8 (2.1.0) lib/oci8/oci8.rb:123:in `initialize'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:319:in `new'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:319:in `new_connection'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:429:in `initialize'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:24:in `new'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:24:in `initialize'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_connection.rb:9:in `new'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_connection.rb:9:in `create'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/oracle-enhanced-5f797f053111/lib/active_record/connection_adapters/oracle_enhanced_base_ext.rb:13:in `oracle_enhanced_connection'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:304:in `new_connection'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:323:in `checkout_new_connection'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block (2 levels) in checkout'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:261:in `loop'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:261:in `block in checkout'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:260:in `checkout'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:162:in `connection'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in `retrieve_connection'
composite_primary_keys (4.1.2) lib/composite_primary_keys/connection_adapters/abstract/connection_specification_changes.rb:68:in `retrieve_connection'
composite_primary_keys (4.1.2) lib/composite_primary_keys/connection_adapters/abstract/connection_specification_changes.rb:50:in `connection'
activerecord (3.1.3) lib/active_record/query_cache.rb:67:in `rescue in call'
activerecord (3.1.3) lib/active_record/query_cache.rb:61:in `call'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (3.1.3) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/reloader.rb:68:in `call'
rack (1.3.6) lib/rack/sendfile.rb:101:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.1.3) lib/rails/rack/logger.rb:13:in `call'
rack (1.3.6) lib/rack/methodoverride.rb:24:in `call'
rack (1.3.6) lib/rack/runtime.rb:17:in `call'
activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.3.6) lib/rack/lock.rb:15:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/static.rb:53:in `call'
railties (3.1.3) lib/rails/engine.rb:456:in `call'
rack (1.3.6) lib/rack/content_length.rb:14:in `call'
railties (3.1.3) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.3.6) lib/rack/handler/webrick.rb:59:in `service'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/Users/daniel/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread
Thank You. | |
Thread View
Post a followup to this message
|
 |