|
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 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 |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
MinimServer start as a service on Windows - lemonfreak - 05-09-2014, 10:59
RE: MinimServer start as a service on Windows - simoncn - 05-09-2014, 17:43
RE: MinimServer start as a service on Windows - lemonfreak - 06-09-2014, 08:28
RE: MinimServer start as a service on Windows - simoncn - 06-09-2014, 10:49
RE: MinimServer start as a service on Windows - lemonfreak - 07-09-2014, 14:41
RE: MinimServer start as a service on Windows - simoncn - 07-09-2014, 20:51
RE: MinimServer start as a service on Windows - Nicks - 08-11-2015 23:20
RE: MinimServer start as a service on Windows - simoncn - 08-11-2015, 23:50
RE: MinimServer start as a service on Windows - Nicks - 09-11-2015, 23:11
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




