similar to: Re: win32-service ideas

Displaying 20 results from an estimated 10000 matches similar to: "Re: win32-service ideas"

2004 Jan 26
1
Re: win32-service ideas
>From: "Park Heesob" <phasis@nownuri.net> >To: "Shashank Date" <sdate@everestkc.net>, <djberg96@hotmail.com> >CC: <win32utils-devel@rubyforge.org> >Subject: Re: win32-service ideas >Date: Sun, 25 Jan 2004 16:41:32 +0900 > >Hi, > >In my computer, I can''t reproduce timeout error. :-) >I have committed service.c adding
2004 Jan 22
1
Latest win32-service error
I''m getting an error when I run the test2.rb script. I get this error: C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb install installed C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb start (Win32ServiceError)t'': Overlapped I/O operation is in progress. from test2.rb:42 Any ideas? Also, it looks like the output from ErrorDescription()
2004 Jan 25
0
Re: Re:Re: Re:Re: win32-service ideas
Park, Thanks, > I uploaded test2.rb in test dir. > Anyway here is test2.rb This is what I got: ----------------------------------------------------------------------------------------- C:\extract\_ruby\WIN32-~1.2\test>ruby test2.rb install installed C:\extract\_ruby\WIN32-~1.2\test>ruby test2.rb start (Win32ServiceError)t'': Overlapped I/O operation is in progress.
2004 Jan 25
0
Re: Re:Re: win32-service ideas
Hi Park, > Oh, I don''t mean unittest. Sorry ... I misunderstood. > step 1 > nmake install > step 2 > goto test directory > step 3 > ruby test2.rb install I do not have test2.rb in the test dir. Have I picked the wrong CVS module? > please let me know if you failed In any step. May be I failed to get the correct version :-( -- Shashank -------------- next
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 Jan 26
1
Re: win32-service ideas
Park, Shashank, It turns out I was doing something stupid with regards to Dir.chdir in testing, which appears to be the reason it was failing. It seems to work now. Hooray! Shashank, I''ll take a look at your errors and see if I can nail them down. The RPC message is one that I got from time to time, but from what I can tell, it''s bogus or a system config/permissions
2004 Jan 26
1
Re: win32-service ideas
>From: Shashank Date <sdate@everestkc.net> >To: Daniel Berger <djberg96@hotmail.com>, phasis@nownuri.net >CC: win32utils-devel@rubyforge.org >Subject: Re: win32-service ideas >Date: Sun, 25 Jan 2004 10:49:03 -0600 > >Dan, Park, > > > Still nothing. The svc.log file never gets created. It''s definitely > > choking on the StartService() call.
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all, I decided to check the responsiveness of the pure Ruby vs C extension versions of win32-changenotify. I setup this little file generator program: a = [] 10.times{ |n| a << Thread.new{ File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" } } } a.each{ |t| t.join } The pure Ruby version did not do so well. In some cases it
2005 Nov 11
1
[Fwd: Thanks for win32-service]
Nice. :) -------------- next part -------------- An embedded message was scrubbed... From: Jamey Cribbs <cribbsj at oakwood.org> Subject: Thanks for win32-service Date: Fri, 11 Nov 2005 11:33:13 -0500 Size: 2505 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20051111/5b46cd4f/Thanksforwin32-service.eml
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
2005 Aug 11
4
win32-process + ruby-breakpoint = strangebehavior
> -----Original Message----- > From: win32utils-devel-bounces@rubyforge.org > [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of > Bill Atkins > Sent: Thursday, August 11, 2005 8:39 AM > To: win32utils-devel@rubyforge.org > Subject: [Win32utils-devel] win32-process + ruby-breakpoint = > strangebehavior > > > I''m getting really strange
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all, I''m preparing win32-service for an 0.5.1 release. I''ve made a couple minor changes and altered the test suite a bit. It passes on my box here, except that about half the time I get this error: 1) Error: test_services(TC_Win32Service): Win32::ServiceError: OpenService() call failed: The handle is invalid. test/tc_service.rb:227:in `services''
2005 May 14
4
Problems with custom service and webrick
Hi all, Windows XP Pro Ruby 1.8.2 I''m having a couple of problems with the following service. The first issue is that the code in service_start doesn''t seem to fire off. The second problem is that any attempt to do ''require "webrick"'' within webrick_daemon.rb causes the service to fail on start. Any ideas? # webrickctl.rb
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all, If you take a look at the service.rb file in the win32-service repository (the new one in the toplevel repository path), I''ve got this bit of code, which succeeds, but I can''t seem to unpack the data structure properly. Did I pack it wrong to begin with? I should know this but I''m spacing out. proc_status =
2004 Mar 09
6
win32-mmap test suite
I just tried running tc_mmap.rb and noticed that something rather curious seems to happen. The call to Mmap.new in setup seems to cause the test suite to just exit without ever actually running the tests. I reduced the test suite to just this bit of code. This works, although the final test (TypeError) does not pass - no exception in thrown. This is 1.8.1 on Win2k. Any ideas? Dan PS - I
2007 Nov 18
4
Need help with win32-service, failure actions
Hi all, I''m trying to get failure action support working. I''ve modified the Service.configure method to accept the following options: failure_reset_period failure_command failure_reboot_message failure_actions failure_delay I''ve got the failure_command and failure_reboot message working, but the rest aren''t working properly. I''m mostly focused on
2004 Jan 26
0
Re: win32-service ideas
Park, > Oh, you have wrong version of service.c > I will attach service.c for you. Sorry again ;-( This is with the new service.c you attached and slightly modified test2.rb: ---------------------------------------------------------------------- C:\extract\_ruby\WIN32-~1.2>ruby extconf.rb creating Makefile C:\extract\_ruby\WIN32-~1.2>nmake Microsoft (R) Program Maintenance
2005 Nov 22
1
Win32 Service Timeout command
> -----Original Message----- > From: Jamey Cribbs [mailto:cribbsj at oakwood.org] > Sent: Tuesday, November 22, 2005 2:44 PM > To: Berger, Daniel > Subject: Win32 Service Timeout command > > > Hi, Dan. I have a quick question. Is there a way to set a timeout > variable when starting/creating a win32 service using your package? > When I attempt to start a
2004 Feb 02
4
Hooks for win32-service
Just trying to come up with hooks for win32-service. It looks like Perl''s Win32::Daemon defines these: start....................The service is starting. pause....................The service is entering a paused state. continue.................The service is resuming from a paused state. stop.....................The service is stopping running..................The service is running
2006 Jun 28
3
[Fwd: [ruby] win32-service : RegisterServiceCtrlHandlerEx]
Thoughts? -------------- next part -------------- An embedded message was scrubbed... From: "Romuald du Song" <rdusong at gmail.com> Subject: [ruby] win32-service : RegisterServiceCtrlHandlerEx Date: Mon, 26 Jun 2006 00:02:10 +0200 Size: 2587 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060628/8f12e8f1/attachment-0001.mht