I got past the :remote_definitions allowed issue, but encountered another one instead: When trying to launch leaverequest, I get the ff:
can't handle scheme 'd' for d:/development/workspace/ruote-web2/public/ defs/leave_request1.rb Parameters: {"authenticity_token"=>"hw8ydYksKtNIUPRHGJiFnI5kUCT0dS8p8zLJdeyIktc=", "definition_id"=>"4", "fields"=>{"from_date"=>"20090525", "reason"=>"test", "employee"=>"charly", "to_date"=>"20090529"}, "commit"=>"launch new process instance", "definition_url"=>"d:/development/workspace/ruote-web2/public/defs/ leave_request1.rb"} I'm using Win XP, Jruby 1.1.6, MySQL 5.0.41-community-nt, activerecord- jdbcmysql-adapter (0.9). Appreciate the help. b4h4w On May 11, 8:15 am, pranav <rprana...@gmail.com> wrote: > Hi- > > I am trying to launch a process definition in ruote-web2 and I am > facing the following problems - > > 1. no connection available > 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-jdbc- > adapter-0.9/lib/jdbc_adapter/jdbc_mssql.rb:224:in `columns' > 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' > > ----------------------------------------------------------------------------------------------------------------------------- > > 2. ActiveRecord::ConnectionNotEstablished: no connection available: > SELECT * FROM process_errors WHERE (process_errors.[wfid] = '20090511- > deyupuheja') ORDER BY id asc > > This post has helped me a lot as I faced same errors.. As mentioned in > this thread.. > I have added h[:remote_definitions_allowed] = true to the ruote_plugin/ > init.rb > Also, I have updated my lib/openwfe/expool/def_parser.rb > > I am working on windows.. I am using MS-SQL Server, JRuby 1.2.0, > activerecord 2.3.2, activerecord-jdbc-adapter (0.9) > Please suggest how to resolve this problem. > > Thanks, > Pranav --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to openwferu-users@googlegroups.com to unsubscribe : send email to openwferu-users+unsubscr...@googlegroups.com more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---