On Fri, May 15, 2009 at 8:12 PM, pranav <[email protected]> wrote: > > 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
Hi Pranav, thanks for the detailed report, neat ! Could you please replace your lib/openwfe/extras/singlecon.rb with the one at : http://gist.github.com/112174 and then observe the "reconnection" behaviour ? This twisted version of singlecon is meant to ouput to stdout its attempts at connection to the database. It should be informative. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
