search for: start_service

Displaying 20 results from an estimated 66 matches for "start_service".

2006 Sep 28
1
upload_progress and DRb.start_service crashes
...#39; from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1336:in `initialize'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' from /usr/local/lib/ruby/gems/1.8/gems/ mongrel_upload_progress-0.2/lib/mongrel_upload_progress/init.rb:13:in `initialize'' from /usr/local/lib/ruby/gems/1.8/gems/gem_plugin-0.2.1/lib/ gem_plugin.rb:163:in `create'' ... 8 levels......
2007 Aug 09
2
RoR and DRb
Hi, I have a question regarding RoR and DRb. First of all, I tested with simple client/server examples and everything worked as expected. I have the following lines in my environment.rb: DRb.start_service $rem_obj = DRbObject.new(nil, "druby://#{rname}:9001") Since rem_obj is a global variable, I can call it from any controller and the invoked procedure is run on the server. However, what if you want the client to be registered as an observer. How is that gonna work in rails? I imagine t...
2006 Aug 07
2
Autostarting and job keys...
I''ve now got 5 processes auto started. But I when I query the MiddleMan for their keys (in script/console), it doesn''t find them. Looking at the start script, it looks like it might be creating a new MiddleMan object for each autostart BackgrounDRb::MiddleMan.new.new_worker(:class => entry[''class''], Even changing it to
2008 May 30
3
Mongrel error since updating to OSX 10.5.3
Howdy, I''m getting an error message when trying to run one of my rails apps, which seems to have started after updating to 10.5.3. mattdaw-2:v1.5_patch mdaw$ mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... /usr/local/ruby-patched/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../ lib/mongrel/tcphack.rb:12:in
2006 Jul 14
4
Using BackgrounDRb to replace nested loops?
In response to my Rails Weenie post today[1], someone mentioned that I try BackgrounDRb to help take the strain off my application. 1: http://rails.techno-weenie.net/question/2006/7/13/nested-loops- best-way-to-send-messages-to-blog-subscribers I''ve just tried to install and use BackgrounDRb with my app, but I''m afraid that I''m not too versed in running processes
2006 Sep 06
3
DRb error when using rails_spec on OS X
...39;' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1336:in `initialize'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' from script/rails_spec:6 Running ''rake spec:models'' does work, though with the same overhead of ''rake test:units''. I''m on Mac OS 10.4.7 running ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0] and RSpec 0.6.3. The firewall on this machi...
2006 Feb 09
2
breakpointer error
...in `initialize'' from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:1549:in `new'' from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:1549:in `start_service'' ... 7 levels... from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'' from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources...
2007 Apr 04
6
Exception when doing DRb remote calls from a BackgrounDRb worker
Hello, I am trying to make DRb calls to a external server from a backgrounDRb worker, but I''m getting always the next exception when I make the remote call. > ERROR: > drbunix:///tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051 > - #<Errno::ENOENT: No such file or directory - >
2006 Feb 02
3
breakpointer failing
...39;' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1336:in `initialize'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:146 from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:145 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /...
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
...b.rb:745:in `each'' from c:/ruby/lib/ruby/1.8/drb/drb.rb:745:in `open_server'' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1286:in `initialize'' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1549:in `new'' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1549:in `start_service'' from c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:402:in `run'' from c:/ruby/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:61 from c:/ruby/bin/scgi_service:18:in `load'' from c:/ruby/bin/scgi_service:18 Thanks....
2006 Sep 25
3
Engine Yard blog
Just received the news from Tom Mornini. Congrats Ezra for the new Engine Yard site and the blog you will be collaborating. Hope to read you there soon. http://www.engineyard.com/ Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060925/3f251fa4/attachment.html
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
...ame} Completed [#{Time.now.strftime("%Y%m%d%H%M %S")}]" @result << "***#{msg}" rescue @result << "#{scriptname} Aborted [#{Time.now.strftime("%Y%m%d%H%M %S")}] \n #{$!} \n #{caller.to_yaml}" ensure return @result end end DRb.start_service myPid = Process.pid.to_s puts myPid ring_server = Rinda::RingFinger.primary ring_server.write([:name, :ScriptServer, ScriptServer.new(), "ScriptServer #{myPid}"], Rinda::SimpleRenewer.new) DRb.thread.join ******** T...
2007 Apr 09
1
Drb Connection error on multiple dispatch.fcgi ''s
.../drb/drb.rb:1582:in `main_loop'' /usr/lib/ruby/1.8/drb/drb.rb:1578:in `main_loop'' /usr/lib/ruby/1.8/drb/drb.rb:1427:in `run'' /usr/lib/ruby/1.8/drb/drb.rb:1424:in `run'' /usr/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' /usr/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' /home/pascal/projects/work/sitenoodler/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:315:in `run'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:187:in `start_proc'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb...
2006 Aug 07
2
uninitialized constants in worker class
...by/1.8/drb/drb.rb:1578:in `main_loop'' C:/Programme/ruby/lib/ruby/1.8/drb/drb.rb:1427:in `run'' C:/Programme/ruby/lib/ruby/1.8/drb/drb.rb:1424:in `run'' C:/Programme/ruby/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' C:/Programme/ruby/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' script/backgroundrb/start:84 [2] background.yml port: "22222" timer_sleep: 60 load_rails: true environment: development host: localhost database_yml: config/database.yml acl: deny: all allow: localhost 127.0.0.1 order: deny,allow
2006 Nov 20
4
Production RAILS_ENV / DB Selection
...'' /usr/local/lib/ruby/1.8/drb/drb.rb:1578:in `main_loop'' /usr/local/lib/ruby/1.8/drb/drb.rb:1427:in `run'' /usr/local/lib/ruby/1.8/drb/drb.rb:1424:in `run'' /usr/local/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' /usr/local/lib/ruby/gems/1.8/gems/slave-1.0.0/lib/slave.rb:205:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/slave-1.0.0/lib/slave.rb:200:in `initialize'' /var/www/gorchie/releases/20061120100506/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:169:in...
2006 Feb 17
2
HELP: Strange problem with breakpointer - stopped working
...drb/drb.rb:860:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in `open_server'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1336:in `initialize'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:146 from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:145 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/local/lib/ruby/gems/1.8/...
2006 Dec 25
4
Definitive guide for upload progress
...ually launch ruby www/current/lib/upload.rb (yes that sucks) require ''rubygems'' require ''fastthread'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE DRb.start_service ''druby://0.0.0.0:2999'', Mongrel::UploadProgress.new DRb.thread.join And all I get during upload ajax process are raised errors: "A NameError occurred in upload#progress: uninitialized constant Mongrel::Uploads". Status remains at 0% and picture is uploaded. The DRb c...
2006 Jun 07
1
Using DRb within Rails
...eway cattr_accessor :ssl_config, :host, :port def self.gateway @@gateway ||= new end def process(amount, card, type = :auth) @biller.process(amount, card, type) end def set_card(user_id, number) @biller.set_card(user_id, number) end protected def initialize DRb.start_service nil, nil, PaymentGateway.ssl_config @biller = DRbObject.new(nil, "drbssl://#{PaymentGateway.host}:#{PaymentGateway.port}") end end In my environment.rb file, I set up the config options. For development/testing I''ve set up a mock class so it doesn''t actually have...
2006 Aug 24
10
MongrelCluster - How can I make a request to a specific mongrel instance?
In our app we''ve a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc). In a webbrick environment this works ok, but we find in production we have a problem because we have 4 caches, one for each mongrel instance. This also isn''t a BIG problem, but our cache.reload() methods are kinda useless now, because we
2008 Jan 14
3
problem with backgroundrb
.../drb/drb.rb:1430:in `run'' /usr/lib64/ruby/1.8/drb/drb.rb:1427:in `start'' /usr/lib64/ruby/1.8/drb/drb.rb:1427:in `run'' /usr/lib64/ruby/1.8/drb/drb.rb:1347:in `initialize'' /usr/lib64/ruby/1.8/drb/drb.rb:1627:in `new'' /usr/lib64/ruby/1.8/drb/drb.rb:1627:in `start_service'' /data/flywheel/releases/20071214170355/config/../script/backgroundrb/ start:98 /data/flywheel/releases/20071214170355/config/../script/backgroundrb/ start:94:in `fork'' /data/flywheel/releases/20071214170355/config/../script/backgroundrb/ start:94 /data/flywheel/releases/200712141...