When zipping the glowroot folder while the application is running, there's a high risk of corruption, rendering it unusable. This may require requesting the customer to upload it again, potentially leading to multiple iterations.
adhere to the following steps to properly collect the glowroot folder.
1) Take a copy of glowroot folder and paste it as "glowroot_copy" under product home.
2) Edit <Prod_Home>\glowroot_copy\admin.json and update port to 4040.
3) Open a CMD prompt and traverse to <Prod_Home>\glowroot_copy directory and execute the following command for which response should be as returned in the below screenshot.
<Prod_Home>\jre\bin\java.exe -jar glowroot.jar
4) Try connecting to http://localhost:4040/ in a browser in application server upon which glowroot UI should be accessible like in below screenshot.
5) If all steps proceed smoothly and yield the correct response, please proceed to zip the <Prod_Home>\glowroot_copy folder while in debugging mode, as shown in the screenshot below.If any issues arise during the steps, please delete the <Prod_Home>\glowroot_copy directory and retry from step 1.