similar to: [Fwd: Ruby Win32-Service]

Displaying 20 results from an estimated 700 matches similar to: "[Fwd: Ruby Win32-Service]"

2006 Jun 19
9
win32-service patch
Attached is a patch and my service.c if there is any difficulty applying the patch. I did the following: 1. Created a ruby thread (Ruby_Service_Ctrl), that polls against a simple integer value (protected by a critical section). I was worried this would be "expensive"; however, I found the rb_thread_polling method and it seems to work well. 2. When an event occurs in Service_Ctrl it
2006 Jun 18
1
Win32-Service and threading
First off I just want to pass on a big thank you to everyone who has worked on the win32 packages, they have helped me numerous times. But (of course you knew it had to be coming :-)... I have just started doing some work with win32-service -- I was creating a wrapper around it and daemon.rb, so I could write one body of code that depending upon platform would provide a reasonable interface for
2006 Oct 26
2
The win32-service patch is committed - and now, some questions
Hi all, I *finally* committed the patch from Patrick Hurley (you know, the one he submitted way back in June). Looks like it works. I''ve also revamped the code under the examples directory. There''s now a tdaemon.rb (the test daemon) and tdaemon_ctl.rb (the test daemon controller). Before I release this into the wild I want to make sure I document how to use it properly.
2007 Sep 23
16
WinRuby?
Hi all, With the latest 1.8.6 release out today, I was wondering - what would you all think of a Windows-only fork of Ruby? I mean Perl has ActiveState, right? It ships with a slightly different interpreter and different libraries, so why not Ruby? Here''s what I''m thinking: * Win2k or later. No 95/98/ME support. No cygwin/mingw, either. * Assume VC++ 8. Use whatever
2006 May 22
9
win32/service... still with problems.
Hello list, In my quest to get Mongrel working as service for win32, found some problems with win32/service that make it impossible to solve. Attached is the simplest service script I could do with ruby, which depends on win32/service. I found that doing anything complex in service_stop (killing threads, doing file handling, even sleeping for 0.25 seconds). crash the service with backtraces (of
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running in to a problem. My service (a Daemon ruby class) installs and starts fine, but when I try to stop it, I get: C:\workspaces\default\tahoe>ruby script\service stop script/service:77:in `stop'': An exception occurred in the service when handling the control request. (Win32::ServiceError) from
2007 Sep 12
2
RubyConf 2007?
Hi all, Is anyone on the list going to RubyConf this year? I don''t know yet if I''m going to go. I''m still thinking about it. Regards, Dan
2006 Mar 16
1
Re: rcov 0.2.0 - code coverage tool for Ruby
On 3/14/06, David Holroyd <ruby-talk@badgers-in-foil.co.uk> wrote: > On Wed, Mar 15, 2006 at 02:23:04AM +0900, Mauricio Fernandez wrote: > > On Tue, Mar 14, 2006 at 09:27:14AM +0900, David Holroyd wrote: > > > On Wed, Mar 01, 2006 at 01:31:11AM +0900, Mauricio Fernandez wrote: > > > > Source code, additional information, screenshots... available at > >
2006 Dec 07
0
Fwd: win32-service problems with patch
Got this today. Please take a look and let me know what you think. - Dan ---------- Forwarded message ---------- From: Kevin Burge <kevin.burge at systemware.com> Date: Dec 7, 2006 6:45 AM Subject: win32-service problems with patch To: djberg96 at gmail.com Hi Daniel, Thanks for win32-service. In the process of using it for running a reliable-msg (drb) server and clients, I had some
2003 Mar 26
4
print$ share problem URGENT - BUG
Hello I try to install drivers from CD to print$ share. I use the APW for that, but when the system have finish to copy drivers, w2k says that he cannot complete the process. And the log of the machine says : [2003/03/26 11:56:41, 0] passdb/pdb_ldap.c:ldap_connect_system(316) ldap_connect_system: Binding to ldap server as "cn=manager,dc=corman,dc=be" [2003/03/26 14:26:53, 0]
2007 Jul 08
2
[ win32utils-Support Requests-12080 ] How would one add these packages as a dependency to a cross-platform gem?
Support Requests item #12080, was opened at 2007-07-07 19:02 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=12080&group_id=85 Category: Install Problem (example) Group: None Status: Open Resolution: None Priority: 3 Submitted By: Luke Bayes (lukebayes) Assigned to: Nobody (None) Summary: How would one add these packages as a dependency to a
2007 Nov 24
5
Service.start arguments failing or causing segfault
Hi, Unless I''m mistaken the final arguments to Service.start should be passed to the Daemon''s service_main method. Correct? I modified the Service.start method (now in CVS) to look something like this: def self.start(service, host=nil, *args) ... num_args = args.length if args.empty? args = nil else args.unshift(service) # Necessary?
2004 Apr 09
2
Issues with win32-service Daemon
Hi all, I wrote a little echo client to run as a service. I have a couple of problems with this. First, any time I try to define anything in "initialize", the service fails to start. Any idea why? Also, this service runs for a while, then just quits for no reason that I can see. The Event Log merely says, "The Abba service terminated unexpectedly". Any ideas on
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone, I was trying to discover some new plugins, but the script breaks at a certain point: $ ./script/plugin discover Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n] Add http://svn.recentrambles.com/plugins/? [Y/n] Add http://svn.hasmanythrough.com/public/plugins/? [Y/n] Add http://www.svn.recentrambles.com/plugins/? [Y/n] Add http://sean.treadway.info/svn/plugins/? [Y/n] Add
2011 May 10
1
popen4 gem for windows
hi, i want to make application that run a process automatically after server starts completely. I have explore and find popen4 gem which provides this facility. I have installed a gem but there is some problem while executing the ruby program. The error is like * <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- win32/open3 (LoadError)* * from
2003 May 09
5
windows file compatibility aka A Cry For Help
Everything is going amazing in the windows->samba conversion until I ran into a roadblock..I really dont know what may be going on so I will outline it as best as I can. We have a program called realty toolkit which saves its configuration and security settings onto the network. Well, after putting the files onto the linux box, it no loger wants to work, the security check fails. calling the
2005 Nov 26
1
Another patch of win32-service for nice startup.
Hi, I believe this patch would be a perfect solution for a lengthy initialization application. Added hStartEvent, service_init, checkpoint increments. ============================================================ --- temp/service.c 2005-11-27 00:03:30.000000000 +0900 +++ service.c 2005-11-27 00:01:58.000000000 +0900 @@ -14,6 +14,7 @@ static VALUE cDaemonError; static VALUE rbServiceStruct,
2004 Dec 10
5
win32-process 0.3.1 is out
Hi all, Just wanted to let you know that I released 0.3.1 last night. This addresses Bug #712 and incorporates Patches #1087 and #1137 (thanks Aslak). I''ll try to get an open4 implementation out this weekend, though I noticed that Aslak''s patch is different than what Park originally had, so I''ll have to decide which I prefer, or if they can be blended somehow.
2006 May 31
2
Looking for docs on some functions and constants
Hi all, I''m starting to set things up to move win32-open3 towards a pure Ruby solution. I''ve got a windows-pipe module setup, but now I need to define some of the msvcrt IO functions. However, I can''t find documentation on MSDN or my system for the following: FMODE_READABLE FMODE_WRITABLE FMODE_BINMODE MakeOpenFile() io_alloc() A recursive search on my header files
2011 Aug 29
0
Fwd: [win32-service] win32 daemon error - Service_Main thread exited abnormally (#4)
Any suggestions? ---------- Forwarded message ---------- From: 2potatocakes <reply+i-1463859-6ae63452bd734578892fcf4b571ee941f465e643 at reply.github.com> Date: Mon, Aug 29, 2011 at 12:40 AM Subject: Re: [win32-service] win32 daemon error - Service_Main thread exited abnormally (#4) To: djberg96 at gmail.com Thanks for looking at this guys. Have updated the strcpy line.. I''m