16-08-2014, 22:28
I've recently set up my Windows 2008 R2 server afresh, and I've just reinstalled MinimServer. It's working well though I did have one curious network issue which affected MinimWatch, and a couple of observations on using Task Scheduler to start up MinimServer.
Task Scheduler:
I have created a scheduled task to run on startup to run minimserver. It's now working, but I experienced two problems. First, I needed to set the Program/script field explicitly to "C:\Program Files\Java\jre7\bin\javaw.exe". At first I set the field to just javaw.exe, but found that task schedule ran the copy of javaw.exe that java installs in the system32 folder, in which case minimserver doesn't start successfully. It's an identical version of javaw.exe.
The second problem was that I didn't realise you're not supposed to use quotes in the Start In field. My working task scheduler settings are:
Program/script: "C:\Program Files\Java\jre7\bin\javaw.exe"
Arguments: -jar mserver.jar
Start In: C:\Program Files\MinimServer\lib
Networking issue:
With minimserver running fine on the server and minimwatch running fine on a windows 8 laptop, I opened the laptop in the morning (it woke from sleep) and the minimwatch icon was grey. A couple of hours later, it went green. Something had happened on the network, as at the same time, a video I was watching froze. Here's yesterday's minimwatch log, it's at around 10am that the icon went green. I'm interested to know what might have caused this. It's been green ever since, but sometimes the 'minimserver is running' speech bubble pops up out of the blue, and presumably something on the network is triggering this.
[attachment=508]
Thanks,
Matt
Task Scheduler:
I have created a scheduled task to run on startup to run minimserver. It's now working, but I experienced two problems. First, I needed to set the Program/script field explicitly to "C:\Program Files\Java\jre7\bin\javaw.exe". At first I set the field to just javaw.exe, but found that task schedule ran the copy of javaw.exe that java installs in the system32 folder, in which case minimserver doesn't start successfully. It's an identical version of javaw.exe.
The second problem was that I didn't realise you're not supposed to use quotes in the Start In field. My working task scheduler settings are:
Program/script: "C:\Program Files\Java\jre7\bin\javaw.exe"
Arguments: -jar mserver.jar
Start In: C:\Program Files\MinimServer\lib
Networking issue:
With minimserver running fine on the server and minimwatch running fine on a windows 8 laptop, I opened the laptop in the morning (it woke from sleep) and the minimwatch icon was grey. A couple of hours later, it went green. Something had happened on the network, as at the same time, a video I was watching froze. Here's yesterday's minimwatch log, it's at around 10am that the icon went green. I'm interested to know what might have caused this. It's been green ever since, but sometimes the 'minimserver is running' speech bubble pops up out of the blue, and presumably something on the network is triggering this.
[attachment=508]
Thanks,
Matt