Hi,
I apologize to have posted the same question on different thread.
I am working on windows, JRuby 1.2.0, Rails 2.3.2.
I am using ruote-web2 and trying to launch a process definition.
The problem that I face is of activerecord losing connection when I
launch a process.
Previously when I was working with MS SQL Server, I thought it was
because of it that I was facing that error.
After reading on few threads I noticed that ruote-web2 is working fine
with MySQL.
So I now I am using MySQL as my DB. I have activerecord-jdbcmysql-
adapter and jdbc-mysql driver gems installed. It performs db:migrate,
data:populate correctly. I am able to create a new user, define a new
process.
But, I still get the same error when I try to launch any process
definition (even SimpleSequence and LeaveRequest)
Following is the error -

ActiveRecord::ConnectionNotEstablished in ProcessesController#show

Dump--------------------------------------------------------------------------------------------------------------------------------------

C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/connection_adapters/abstract/query_cache.rb:70:in
`columns_with_query_cache'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1276:in `columns'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1289:in `column_names'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1302:in `column_methods_hash'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1991:in `all_attributes_exists?'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1991:in `each'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1991:in `all?'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1991:in `all_attributes_exists?'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/
active_record/base.rb:1847:in `method_missing'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/ruote-0.9.20/lib/openwfe/
extras/expool/db_errorjournal.rb:106:in `get_error_log'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/ruote-0.9.20/lib/openwfe/
engine/status_methods.rb:324:in `process_statuses'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/ruote-0.9.20/lib/openwfe/
engine/status_methods.rb:320:in `each'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/ruote-0.9.20/lib/openwfe/
engine/status_methods.rb:320:in `process_statuses'
C:/pranav latest/1.2.0/lib/ruby/gems/1.8/gems/ruote-0.9.20/lib/openwfe/
engine/status_methods.rb:369:in `process_status'
C:/Users/233686/Documents/NetBeansProjects/RailsApplication1/app/
controllers/processes_controller.rb:73:in `show'

--------------------------------------------------------------------------------------------------------------------------------------

Also, similare error is created with process_errors and ar_workitems
tables.

Yes I have googled a bit.. I have tried to look for solutions but
haven't found any.
Please help!

Thanks in advance.
Pranav
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to