[Backgroundrb-devel] backgroundrb worker and soap?
diogo.silva at w20.pt
Fri Feb 20 05:23:01 EST 2009
I'm having some problems too with soap driver within a worker. Sometimes it
works, sometimes not (raising a timeout error too).
Someone found a solution to this problem?
2009/2/6 Phil Smy <phil at ideeli.com>
> I am having a problem calling a soap driver from within a backgroundrb
> Here is basically what I am doing:
> class MyWorker < BackgrounDRb::MetaWorker
> def create(args = nil)
> # this method is called, when worker is loaded for the first time
> def process args
> inv_items = NSHelper::NSPort.instance.find_things(args)
> The Helper create a PortType and so on that has been generated by
> I am getting an error inside of httptimeout:
> 2009-02-06 17:56:40 (46574) I: #<NoMethodError: You have a nil object when
> you didn't expect it!
> The error occurred while evaluating nil.cancel>
> 2009-02-06 17:56:40 (46574) I:
> and so on.
> It immediately is going to a timeout - so I think that is the crux of the
> I can use my helper / soap calls fine from within a controller or the
> console - it is just from the worker I am having problems.
> Any help would be greatly appreciated!
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel