Displaying 5 results from an estimated 5 matches for "geoffgarsid".
Did you mean:
geoffgarside
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 -
>
2007 Jun 25
3
one more "uninitialized constant" problem
Hi everyone,
I''m new to backgroundrb, and I''m trying to get started with a simple example, yet with no success.
This is the code that I have in RAILS_ROOT/lib/workers/testing_worker.rb
class TestingWorker < BackgrounDRb::Worker::RailsBase
def do_work(args)
# This method is called in it''s own new thread when you
# call new worker. args is set
2007 Apr 26
2
looking for a worker that''s gone
In my app, I store the job key when a worker is fired off and then
check back in periodically to see how its doing. The workers delete
themselves when they''re done. I would expect when I try to get a
worker that has been deleted, I would get nil or a proper exception,
but instead I get:
>> MiddleMan.worker(''foobar'')
NoMethodError: undefined method
2007 Jun 11
4
smtp timeout failures
Hi.
I''m using backgroundrb to, in part, wrap smtp transactions made through
actionmailer. The problem is that when smtp fails with a timeout error, the
worker simply stops at that point.
No exception is returned. I''ve tried wrapping this call in a begin...rescue
block but no exception seems to be making it back to the worker (other
methods are correctly passing exceptions to
2007 Apr 23
0
Using mapped database connections
This morning I switched over my backgroundrb server from development
mode to production mode. After that all I was getting was errors when
attempting to connect to the backgroundrb server. I checked the
backgroundrb_server.log file and noticed the following exception
20070423-10:30:00 (29673) development database is not configured -
(ActiveRecord::AdapterNotSpecified)
In my database.yml