I have two RHEL servers running a CUBA Web App/App-Core behind a load-balancer in AWS. I am using UberJAR to build and deploy my application. Everything is working great, except for JMX. Specifically I want to see the Server Logs for both servers, no matter which server I’m currently on. I have tried setting up a JMX connection without success.
After reading CUBA docs, it looks like JMX needs to be enabled. I see instructions for Tomcat on Linux - https://doc.cuba-platform.com/manual-6.9/jmx_remote_access_tomcat_linux.html.
UberJAR is using Jetty and I cannot find any instructions with CUBA docs/forum. I do see some JMX instructions on the Jetty site - https://www.eclipse.org/jetty/documentation/9.3.x/jmx-chapter.html, but it’s not clear to me how to integrate these into the Jetty configuration files used as part of my UberJAR build.
Viewing the server logs of any servers is a really invaluable support tool.