[Win32utils-devel] win32-service patch
djberg96 at gmail.com
Mon Jun 17 13:58:12 UTC 2013
> > However, it seems the JVM takes too long to spin up. When I try to start
> > service, I get the "did not start in a timely fashion" error with JRuby.
> > Although, I would think the service_init method would give it enough
> > From watching the log file, though, it doesn't look like it ever gets to
> > service_init.
> I guess this is an environment issue.
> In my test with jruby-1.7.4, it works fine and the log file looks good.
> service_main entered at: 2013-06-17 22:21:12 +0900
> Args: DemoSvc,hello
> Service is running as of: 2013-06-17 22:21:32 +0900
> Service is running as of: 2013-06-17 22:21:52 +0900
> Service is running as of: 2013-06-17 22:22:12 +0900
Weird. I installed the latest JRuby x64 + JVM:
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) Client VM
This is Windows 7 Home Premium, btw.
Still get this error:
SystemCallError: Unknown error 1053 - StartService: The service did not
respond to the start or control request in a timely fashion.
(root) at examples\demo_daemon_ctl.rb:68
Well, I'm happy to know that it works for someone. I'll try it on my
Windows 7 Pro box and see if it makes any difference.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the win32utils-devel