Post Reply 
MinimServer as a windows service
12-01-2013, 21:08
Post: #5
RE: MinimServer as a windows service
(12-01-2013 19:13)HerrNilsson Wrote:  Hello Simon and Mike,
I have been trying several ways now to get a service running:

a) Using windows service tools like 'srvany': Problem when you get the service configured and started is, that the service starts with the execution directory in windows/system. Didn't find a way to bend this. So I need some service wrapper.

b) A service wrapper like 'Procrun' from Apache Commons: I have got minimserver registered as described in http://commons.apache.org/daemon/procrun.html, but failed to start it.

c) Using another service wrapper YAJSW (Yet Another Java Service Wrapper) from http://yajsw.sourceforge.net/: Quite easy to install, because the tool obtains the necessary service parameters from just the started process. But still don't get it running.

I didn't had much time, but I will continue trying the last option because it seems most promising to me. So for the time beeing. I will respond, when I get more information.

Nils

Thanks for this update, and thanks for your efforts to find an working combination.

One problem might be that the MinimServer launch icon runs the minimserver.jar file directly, using the Windows .jar file association. Perhaps this can't done when running as a service. You might have more success starting MinimServer using javaw.exe or java.exe using a command like:
<path-to-java>javaw.exe -jar minimserver.jar
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MinimServer as a windows service - simoncn - 12-01-2013 21:08

Forum Jump:


User(s) browsing this thread: 1 Guest(s)