macOS Monterey no menu bar icon on 5.5.1


I did install CommandBox via HomeBrew on macOS. After the update to 5.5.1 after starting a server via “box server start” I don’t get the menu bar icon anymore which was very handy to easily access the site home. Is there a way to get the menu bar icon back for each box server I did start.

On startup I get this error msg:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by runwar.LaunchUtil (file:/Users/XXXX/.CommandBox/lib/runwar-4.7.4.jar) to method
WARNING: Please consider reporting this to the maintainers of runwar.LaunchUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Could that be the issue? Maybe someone has an idea.

Thank you.

Best regards

Ulf aka cfmedicus

Yes, this was covered in the release notes.

Scroll down and read the section titled “Mac Tray Icon Disabled

That’s not an “error”, it’s a “warning”. You can tell them apart because this one says “warning” on the screen :wink:

This has been happening since Java 11 came out and it’s nothing to worry about and wont’ affect your server. It is something that the CF engines will need to fix prior to being able to support Java 16+ due to newer versions of Java being more strict.