Displaying 6 results from an estimated 6 matches for "stop_service".
2007 Jan 19
6
Stopping DRb after using BackgrounDRb::MiddleManDRbObject.init
Hi,
I''m having a problem where connections started through
BackgrounDRb::MiddleManDRbObject.init are not stopped, resulting in an
ever growing established connections between my Mongrels and remote
backgroundrbs
I added DRb.stop_service to my code executed after requests that init
MiddleManDRbObjects but that does not help.
Any ideas?
Thanks,
Robert Bjarnason
2011 Jul 26
0
connect to DRb server from rails controller ?
...w:
SERVER:
require ''drb''
class ParserSvc
def initialize
end
def check
return ''ok''
end
end
svc = ParserSvc.new
DRb.start_service ''druby://:9000'', svc
puts "Server running at #{DRb.uri}"
trap("INT") { DRb.stop_service }
DRb.thread.join
----------------------------------
Client code in application controller:
require ''drb''
class ApplicationController < ActionController::Base
protect_from_forgery
def parser_svc
# svc = nil
svc = DRbObject.new nil, ''druby://:9000...
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello,
I''m a total newbie, so please forgive my ignorance.
I am trying to port an application from java to ruby. In order to do that, I
need to put the object containing all the business logic into something like
application scope.
The nicest solution would be just to have an application wide hash, where I can
put all kinds in of objects.
Where and how would I instantiate such an
2002 Jan 18
5
contrib/solaris/opensshd.in patch
This patch adds the seatbelts which _only_ kill parent sshd procs... -RMallory
(eg: when you ssh into a machine and pkgadd the new openssh, it will not
kill your current (or anyone else's sshd session)
onanother_note: the buildpkg.sh could use some exec_prefix functionality...
to deal with ./configure --prefix= --exec_prefix=/usr
*** bak/opensshd.in Fri Oct 19 13:36:24 2001
---
2013 Aug 28
3
Creating Windows services
Hello,
Documentation mentions that Windows service resource provider "can start,
stop, enable, and disable services".
Is it possible to create (register) a service using this provider?
I''m running stand-alone Puppet agent 3.4.2 on Windows.
Thanks,
Igor.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To
2006 Mar 26
4
edge and 1.8.2/1.8.4 issues
I recently upgraded to 1.8.4 to try out mongrel, and so far have been in
a kind of hell where I can''t get my app working!
Currently running (or trying to run):
Ruby version 1.8.4 (i386-mswin32)
RubyGems version 0.8.11
Rails version 1.0.0
Active Record version 1.13.2
Action Pack version 1.11.2
Action Web Service version 1.0.0
Action Mailer version 1.1.5
Active Support version