[CommandBox 4.5] Windows 10 System Tray display issue

Since updating to CommandBox 4.5, I am seeing the following UI when I try to use the icons in the system tray

Does anyone know how to fix this?

That’s a new one on me. My Windows 10 laptop doesn’t do that and I haven’t had any other reports of it. In fact, we haven’t changed the Java lib that creates the system tray stuff since CommandBox 4.0. What version were you upgrading from?

I cannot recall which version I had updated from, if I did at all. This is in a fairly new laptop and has been happening for a while, I just finally got irritated enough to try and figure it out.

If you do a 'start --debug --console` do you see any messages in the console that hint at issues with the system tray? I’m afraid unless I can reproduce it I don’t have a clue where to start. Anything special about this setup such as the screen resolution or the name of the server? Do all servers on this machine do this?

Yes, this is for every server I use on my development machine - I use CF and Lucee. The buttons and such work, its just an annoyance.

Here is what I see in the console when I run that command. Anything in between { } is data I scrubbed.

✓ | Starting Server


Looking for server JSON file by convention: D:\Sites{project}/server.json
webroot pulled from server’s JSON: {web_root}
Adding host ‘{domain_name}’ to your hosts file!
start server in - {web_root}
server name - {project}
server config file - D:\Sites{project}/server.json
Contacting ForgeBox to determine the latest & greatest version of [adobe 10]… Use an exact ‘cfengine’ version to skip this check.
OK, [adobe 10.0.23+302580] it is!
WAR/zip archive already installed.
Server start command:
D:\Sites\tools\CommandBox\jre\bin\java.exe
-Xmx1024m
-jar {path to user}.CommandBox\lib\runwar-3.8.1-SNAPSHOT.jar
–background=false
–host {domain_name}
–stop-port 64293
–processname {project} [adobe 10.0.23+302580]
–log-dir {path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/logs
–server-name {project}
–tray-icon {path to user}.CommandBox\cfml\system\config\server-icons\trayicon-cf10-32px.png
–tray-config {path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/trayOptions.json
–tray-enable true
–directoryindex false
–timeout 240
–proxy-peeraddress true
–cookie-secure false
–cookie-httponly false
–debug true
–servlet-rest-mappings DISABLED
–gzip-enable true
–cfengine-name adobe
-war {web_root}
–web-xml-path {path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/web.xml
–http-enable true
–ssl-enable false
–ajp-enable false
–open-browser true
–open-url http://{domain_name}:80
–port 80
–urlrewrite-enable true
–urlrewrite-file {path to user}.CommandBox\cfml\system\config\urlrewrite.xml
The server for {web_root} is starting on http://{domain_name}:80 …

Enabling URL rewrite log level: DEBUG
[INFO ] Runwar: Enabling URL rewrite log level: DEBUG
[INFO ] Runwar: Starting RunWAR 3.8.1-SNAPSHOT
[DEBUG] Runwar: Checking that we’re running on > java7
[DEBUG] Runwar: Requisitioning {domain_name}:80 (http) {domain_name}:64293 (stop socket)
[INFO ] Runwar: Adding additional lib dir of: {path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\WEB-INF/lib
[DEBUG] Runwar: Initializing classloader with 17 libraries
[DEBUG] Runwar: Server Mode: war
[INFO ] Runwar: ******************************************************************************
[INFO ] Runwar: Starting - port:80 stop-port:64293 warpath:file:{web_root}
[INFO ] Runwar: context: / - version: 3.8.1-SNAPSHOT
[INFO ] Runwar: web-dirs: {web_root}
[INFO ] Runwar: Log Directory: {path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\logs
[INFO ] Runwar: ******************************************************************************
[DEBUG] Runwar: Added shutdown hook
[DEBUG] Runwar: Transfer Min Size: 100
[DEBUG] Runwar: Setting coldfusion.home: ‘{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion’
[DEBUG] Runwar: Setting coldfusion.classpath: ‘{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/lib/updates/,{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0
D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/lib/,{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/lib/axis2,{path to user}.CommandBox/server/08A2FF4FF382432645E
C9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/gateway/lib/,{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/…/cfform/jars,{path to user}.CommandBox/server
/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/…/flex/jars,{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/lib/oosdk/lib,{path to user}
/.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfusion/lib/oosdk/classes’
[DEBUG] Runwar: Setting flex.dir (cfform): ‘{path to user}.CommandBox/server/08A2FF4FF382432645EC9D0EE0D00A8F-{project}/adobe-10.0.23.302580/WEB-INF/cfform’
[DEBUG] Runwar: found WEB-INF: ‘{path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\WEB-INF’
[INFO ] Runwar: Serving content from {web_root}
[INFO ] Runwar: Parsing ‘{path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\WEB-INF\web.xml’
[DEBUG] Runwar: Setting coldfusion.compiler.outputDir: ‘{path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\WEB-INF\cfclasses’
[DEBUG] Runwar: {cfx.registry.nativelibrary=cfregistry, coldfusion.compiler.outputDir={path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\WEB-INF\cfclasses, cfx.report.nativelibrary=cfrepo
rt, cf.lib.path=./WEB-INF/cfusion/lib, cftags=/WEB-INF/cftags, cf.class.path=./WEB-INF/cfusion/lib/updates,./WEB-INF/cfusion/lib,./WEB-INF/cfusion/gateway/lib,./WEB-INF/flex/jars,./WEB-INF/cfform/jars,./WEB-INF/cfusion/lib/axis2}
[DEBUG] Runwar: enabling URL rewriting
[DEBUG] Runwar: Copying URL rewrite file {path to user}.CommandBox\cfml\system\config\urlrewrite.xml to WEB-INF: {path to user}.CommandBox\server\08A2FF4FF382432645EC9D0EE0D00A8F-{project}\adobe-10.0.23.302580\WEB-INF/urlrewrite.xml
[DEBUG] Runwar: XML rewrite config file: /WEB-INF/urlrewrite.xml
[DEBUG] Runwar: enabling path_info filter
[DEBUG] Runwar: File cache is disabled
[INFO ] Runwar: welcome pages in deployment manager: [index.cfm, index.html, index.htm]
[INFO ] Runwar: Overriding web.xml rest mappings with [DISABLED]
[INFO ] Runwar: Added rest mapping: DISABLED to CFRestServlet
[DEBUG] Runwar: Added websocket context
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Starting logging…
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Starting license…
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Invalid ColdFusion 10 license.
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Invalid ColdFusion 10 license.
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Invalid ColdFusion 10 license.
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Developer Edition enabled
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Starting crypto…
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Installed JSafe JCE provider: Version 6.0 Crypto-J 6.0, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX,
RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, FIPS186PRNG, ECDRBG, HMACDRBG, SHA1PRNG, MD5PRNG; RFC 3394, RFC
5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)
[INFO ] Jan 8, 2019 12:55:37 PM Information [main] - Starting security…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting scheduler…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting WatchService…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting debugging…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting sql…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Pool Manager Started
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting mail…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting runtime…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - CORBA Configuration not enabled
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting cron…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Created scheduler DefaultQuartzScheduler with thread pool size as 10
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting registry…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting client…
[INFO ] Jan 8, 2019 12:55:38 PM Information [main] - Starting xmlrpc…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting jaxrs…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting graphing…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting solr…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting archive…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting document…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting eventgateway…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Event Gateway Disabled.
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting FlexAssembler…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting .NET…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting Monitoring…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - Starting WebSocket…
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - WebSocket server listens on port: 8575
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - ColdFusion started
[INFO ] Jan 8, 2019 12:55:39 PM Information [main] - ColdFusion: application services are now available
[INFO ] 01/08 12:55:40 INFO License Service: Flex 1.5 CF Edition enabled
[INFO ] 01/08 12:55:40 INFO Starting Flex 1.5 CF Edition
[INFO ] 01/08 12:55:40 INFO Macromedia Flex Build: 87315.134646
[DEBUG] Runwar: started servlet deployment manager
[INFO ] Runwar: Direct Buffers: true
[WARN ] io.undertow: UT005060: Predicate max-content-size[5] uses old style square braces to define predicates, which will be removed in a future release. predicate[value] should be changed to predicate(value)
[DEBUG] Runwar: Enabling Proxy Peer Address handling
[DEBUG] Runwar: started stop monitor
[INFO ] Runwar: ******************************************************************************
[INFO ] Runwar: *** starting ‘stop’ listener thread - Host: {domain_name} - Socket: 64293
[INFO ] Runwar: ******************************************************************************
[DEBUG] Runwar: StopMonitor listening for password
[INFO ] Jan 8, 2019 12:55:42 PM Error [Thread-12] - Platform, Locale, and Platform Name must not be null
[DEBUG] Runwar: hooked system tray
[DEBUG] Runwar: Starting open browser action
[INFO ] Runwar: Server is up - http-port:80 stop-port:64293 PID:2236 version 3.8.1-SNAPSHOT
[INFO ] Runwar: Waiting up to 240 seconds for {domain_name}:80…
[INFO ] Runwar: Opening browser to url: http://{domain_name}:80
[INFO ] http://{domain_name}:80

Can’t say I see anything out of place there. Just the normal messages:

[DEBUG] Runwar: hooked system tray
[DEBUG] Runwar: Starting open browser action

I’d have to figure out how to reproduce this on my machine. We use a third party Java lib for the tray icons and such which normally “just works”. I don’t even know much about it other than the JSON I hand to configure its menus.