Restart server via tray icon


Add option to restart server via tray icon.


Brad Wood
June 9, 2020, 5:52 PM

I’ve thought about that. I’d be interested in finding out why the current method doesn’t work, but I’m not sure it is possible for the current method to work 100% due to the timing issues of the old JVM process still running while it’s trying to start the new one. Anyone using Fusionreactor can’t do that due to the lock files it creates.

Miguel Mathus
July 28, 2020, 4:38 PM

Hi can we use my latest commit as a fix for this issue? I wasn’t able to fix the timing issue of the old restart method

Miguel Mathus
July 28, 2020, 6:18 PM

Brad Wood
July 28, 2020, 6:33 PM

Your latest commit has a couple of issues:

  • It assumes that “box” is in the system path

  • It assumes there is only one server in that folder and that they want to restart the default one.

We can try that approach, but I think it would be better if the restart command was built up in the CFML portions of CommandBox where it has more information.

Miguel Mathus
August 3, 2020, 3:22 PM

This was the merge PR


Miguel Mathus


Brad Wood


Affects versions

Fix versions

Time tracking