Run JRubyOnRails App as a windows service

I try to manage to deploy a JRuby on Rails App as a windows service using Mongrel as Application server. With Ruby this is straight forward using the gem mongrel_service (see http://mongrel.rubyforge.org/wiki/Win32) but the jruby mongrel does not support this feature. Has anybody an idea how to manage this with JRuby? Thanks in advance!

Taggings:

1 answer

SRVINSTW.EXE from Windows Resource Kit

One way to do it is with SRVINSTW.EXE from Windows Resource Kit. You
can make a service out of any executable this way.

Here is a page describing how to do it (this one is for Instiki, but it doesn't really matter):
http://www.instiki.org/show/Running+as+a+Windows+Service

Sorry that this solution is not as straight forward as the ruby way.
But it works i run my apps that way.

Taggings: