Displaying 20 results from an estimated 6000 matches similar to: "Fwd: Win32::Daemon, Problems with service_stop"
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
2006 May 21
0
Mongrel as win32-service, round3.
Hello lists!
This is not spam, but included the 2 lists (mongrel-users and
win32utils-devel) because the both are involved.
Attached is the 3rd version of a simple http_service script used
previously to get the things right for the mongrel Rails service.
With the modifications Zed implemented the past days (into the beta
gem, 0.3.13). Now the service part works better.
Still, a few things must
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts?
Dan
-------------- next part --------------
An embedded message was scrubbed...
From: "Patrick Hurley" <phurley at gmail.com>
Subject: Ruby Win32-Service
Date: Sun, 18 Jun 2006 12:46:01 -0400
Size: 2863
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
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
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 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
Hi all,
I''m forwarding this message from Brian Marick. If you
run this test script and then paste the results into a
Unicode aware text editor, you''ll notice that it only
prints one character instead of three.
I tried changing the strlen to _tcslen and strcpy to
_tcscpy, but that didn''t help. I mucked around a bit
with the MultiByteToWideChar function, too, but
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
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
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all,
I created a "pure" branch on github that uses the code Heesob posted a while
back:
http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html
However, I couldn''t make it work on my Vista laptop.
c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb
start
VERSION: 0.8.0
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
2008 May 17
2
Problem reading log with win32-eventlog - buffer too small
Hi all,
A user recently ran into an issue with win32-eventlog and the
EventLog#read method when reading a saved log file. It seems that
there''s an issue.
After some experimentation I found that the problem seems to be that the
initial buffer to ReadEventLog() in line 558 is too small, so it tries a
second call to ReadEventLog() with a larger buffer. The problem is that,
after I
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
2006 Jan 05
7
[Fwd: [win32utils-help][6822] Eventlog problem]
Dang, I thought we solved this.
Any ideas?
Dan
PS - I realized after reading this I forgot to bump the version number
for 0.3.3 - I''ve uploaded a new zip file with the correct version number.
-------------- next part --------------
An embedded message was scrubbed...
From: alain Fioretti <noreply at rubyforge.org>
Subject: [win32utils-help][6822] Eventlog problem
Date: Thu, 5
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Berger, Daniel
> Sent: Wednesday, May 17, 2006 12:07 PM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] Need a little help with the
> pureRubywin32-eventlog
>
>
> >
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
2009 Aug 07
7
Comments for Daniel Berger blog post
Hey Daniel,
I''m trying to leave you a comment on this article you wrote:
http://djberg96.livejournal.com/168403.html
But since you disabled OpenID and anonyous, I''m not fond to register
for another account just to reply your comments.
Quoting your post:
""
Unfortunately, I''ve slammed into the cold hard fact that FFI just
isn''t the grand solution
2006 Apr 26
3
[ win32utils-Support Requests-4264 ] win32 process
Support Requests item #4264, was opened at 2006-04-26 15:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=412&aid=4264&group_id=85
Category: Install Problem (example)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32 process
Initial Comment:
I try to use the fork example, but I
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
Feature Requests item #3502, was opened at 2006-02-08 10:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3502&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we
2004 Sep 21
1
win32-shortcut problems
Hi all,
I''ve started porting the Win32::Shortcut Perl module over to Ruby. I''ve
done some initial work and committed it to CVS (look under win32utils - I
goofed and made a toplevel dir as well - it''s empty).
Anyway, everything compiles fine, but when I do "s = Shortcut.new" I get a
weird error:
test.rb:11:in `initialize'': undefined method
2005 Dec 01
1
service_cli.rb
Hi,
I just got done using win32/service to run a very small/hack-ish "Riki"
WEBrick service. Very cool stuff. Thanks.
So, in the process, I noticed a lot of the "control" start/install/etc.
command line parser stuff looked a bit boilerplate, so I pulled it out into
a helper function "service_cli" (for lack of a better name).
Its simple, but it allows me to do away