Post Reply 
MinimServer start as a service on Windows
08-11-2015, 23:20
Post: #7
RE: MinimServer start as a service on Windows
(07-09-2014 20:51)simoncn Wrote:  
(07-09-2014 14:41)lemonfreak Wrote:  ok, it works Smile

Thanks for posting these instructions. They will be very helpful for other users.

Hi Simon - Using the above I've managed to get MinimServer to start as a service on Windows Server 2012 and connect to it remotely from another system running MinimWatch. However the MinimServer starts without its configuration; i.e. it doesn't know the contentDir nor its correct displayName. Its as if its a new installation.

Minim server starts normally with the correct displayName and contentDir if I run it manualy from the command line. I first have to change directory to C:\Program Files\MinimServer\lib first and then run

c:\Program Files\Java\jre1.8.0_31\bin\javaw.exe -jar "C:\Program Files\MinimServer\lib\mserver.jar".

If I don't change into the lib dir first MinimServer starts in the same manner as the automated service - without its configuration.

I have the AppDirectory path defined in the service parameters key in the registry for this service. With your knowledge of Java can you please explain why its necessary to start MinimServer from the lib directory containing the mserver.jar file? And is there some way around this by passing an argument on the javaw command line with the correct startup directory and/or MinimServer configuration parameters?

I've tried several other Java service wrappers with similar results. One starts MinimServer which then puts up a file location dialog requesting the contentDir - as if its a new installation. Any hints and suggestions would be greatly appreciated. I really don't want to have to keep logging into this system and starting MinimServer manually.

Apart from this Java / Windows platform issue I'm very happy with MinimServer. With Jplay streamer its providing by far the best sound I've experienced from my system.

Thanks,
-
Nick
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MinimServer start as a service on Windows - Nicks - 08-11-2015 23:20

Forum Jump:


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