Restart server via tray icon

Description

Add option to restart server via tray icon.

Gliffy Diagrams

Activity

Show:

Miguel Mathus August 3, 2020 at 3:22 PM

This was the merge PR

Brad Wood July 28, 2020 at 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 July 28, 2020 at 6:18 PM

Miguel Mathus July 28, 2020 at 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

Brad Wood June 9, 2020 at 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.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Affects versions

Fix versions

Original estimate

Time tracking

No time logged2h remaining

Priority

Components

Sentry

Created December 1, 2014 at 8:38 PM
Updated September 29, 2020 at 11:19 PM
Resolved September 29, 2020 at 11:19 PM